Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3229

Running demo as described in documentation (readme) fails on NoSuchMethodError (org.drools.rule.TypeDeclaration.setTypesafe)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • jBPM 5.1
    • jBPM 5.1
    • Eclipse
    • None
    • Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial
    • Hide

      Follow the readme.html and I hit this every time....

      Show
      Follow the readme.html and I hit this every time....

      Run the 'ant install.demo', all OK. Run 'ant start.demo', all OK except the eclipse start failed somewhere. I start eclipse by hand as supplied by jbpm5 installer, select jbpm5-installer workspace and import the sample project. Project does not configure until I select the jbpm5 runtime in preferences, then restart eclipse, try to run the ProcessTest as Java App, fails with:

      java.lang.NoSuchMethodError: org.drools.rule.TypeDeclaration.setTypesafe(Z)V
      at org.drools.compiler.PackageBuilder.initBuiltinTypeDeclarations(PackageBuilder.java:256)
      at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:251)
      at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:146)
      at org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBuilderFactoryServiceImpl.java:34)
      at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:47)
      at com.sample.ProcessTest.readKnowledgeBase(ProcessTest.java:40)
      at com.sample.ProcessTest.main(ProcessTest.java:24)

      This is provided in the project by jbpm and listed as the drools-core-5.2.0.CR1.jar so not missing the method in project?

            kverlaen@redhat.com Kris Verlaenen
            eschabel Eric D. Schabell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: