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

Rule Compilation errors on mac and windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • 6.5.0.CR2
    • 6.4.0.Final
    • eclipse plugin
    • None
      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
    • 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.
    • NEW
    • NEW

      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
      

        1. drools_error.png
          125 kB
          Andrej Podhradsky

              bbrodt_jira Robert (Bob) Brodt (Inactive)
              apodhrad@redhat.com Andrej Podhradsky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: