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

Rule Compilation errors on mac and windows

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Duplicate Issue
    • Affects Version/s: 6.4.0.Final
    • Fix Version/s: 6.5.0.CR2
    • Component/s: eclipse plugin
    • Labels:
      None
    • Steps to Reproduce:
      1. Open the wizard for Drools project
      2. Select the option in the middle (a project with examples)
      3. Select a runtime, e.g. BRMS 6.3.0.GA
      4. Press Finish and open Problems view
    • Release Notes Text:
      A change in the Eclipse Neon JDT surfaced a bug in the Drools Java compiler interface. This was not an issue with the Eclipse Mars JDT.
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      The following error occurs on mac and windows after creating a drools project in Problems view

      Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
      Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
      KnowledgeHelper cannot be resolved to a type
      com.sample.DroolsTest.Message cannot be resolved to a type
      org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
      org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
      java.lang.Exception cannot be resolved to a type
      org.kie.api.runtime.rule.RuleContext cannot be resolved to a type
      Message.GOODBYE cannot be resolved to a type
      org.drools.core.util.bitmask.AllSetBitMask cannot be resolved to a type
      com.sample.DroolsTest.Message cannot be resolved to a type
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bbrodt Robert (Bob) Brodt
                Reporter:
                apodhrad Andrej Podhradsky
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: