Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2071

Guided Score Card "Found duplicate declaration for type org.drools.pmml.pmml_4_1"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 6.1.0.Final
    • None
    • Hide

      Using Data Modeler I created a new Data Object: "dummy"
      with fields:
      intField1 : Integer
      intField2 : Integer
      scoreField : Double

      In the same package I created New Item > Guided Score Card, named testGSC.

      In "Setup parameters" section I chose “dummy” from Facts combobox and “scoreField” from Resultant Score Field combobox.

      Added 2 Characteristics:

      1.
      Name: intField1Score
      Fact: dummy
      Characteristic: intField1

      Operator Value Partial Score Reason Code Actions
      < 5 0
      >= 5 1

      2.
      Name: intField2Score
      Fact: dummy
      Characteristic: intField2
      Operator Value Partial Score Reason Code Actions
      < 2 -5
      >= 2 5

      Saved and Validated – Successfully.

      Please find attached code copied from “source” tab.

      Show
      Using Data Modeler I created a new Data Object: "dummy" with fields: intField1 : Integer intField2 : Integer scoreField : Double In the same package I created New Item > Guided Score Card, named testGSC. In "Setup parameters" section I chose “dummy” from Facts combobox and “scoreField” from Resultant Score Field combobox. Added 2 Characteristics: 1. Name: intField1Score Fact: dummy Characteristic: intField1 Operator Value Partial Score Reason Code Actions < 5 0 >= 5 1 2. Name: intField2Score Fact: dummy Characteristic: intField2 Operator Value Partial Score Reason Code Actions < 2 -5 >= 2 5 Saved and Validated – Successfully. Please find attached code copied from “source” tab.

      When trying to Build & Deploy project with Guided Score Card file I get following errors:

      Found duplicate declaration for type org.drools.pmml.pmml_4_1.PMML4AbstractField
      Found duplicate declaration for type org.drools.pmml.pmml_4_1.ScoreCard
      Found duplicate declaration for type org.drools.pmml.pmml_4_1.ScoreRank
      Found duplicate declaration for type org.drools.pmml.pmml_4_1.ScoreCardData
      Found duplicate declaration for type org.drools.pmml.pmml_4_1.Score
      Found duplicate declaration for type org.drools.pmml.pmml_4_1.InitialScore
      Found duplicate declaration for type org.drools.pmml.pmml_4_1.BaselineScore

            Unassigned Unassigned
            kborkowska Kinga Borkowska (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: