[jboss-user] [jBPM] - Unable to run example project as Java application
Derek Pang
do-not-reply at jboss.com
Fri Oct 21 04:02:30 EDT 2011
Derek Pang [http://community.jboss.org/people/delbacca] created the discussion
"Unable to run example project as Java application"
To view the discussion, visit: http://community.jboss.org/message/632929#632929
--------------------------------------------------------------
Hi,
I am new to JBPM. I have just finished installing it and am able to lauch Eclipse plugin UI. I have imported a couple of example projects to test and play around with. When I try to execute the process with 'run as java application' I get the following error:
org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.JavaDialectConfiguration'
at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:277)
at org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:262)
at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:175)
at org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:153)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:254)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:182)
at org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBuilderFactoryServiceImpl.java:34)
at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:46)
at com.sample.ProcessTest.readKnowledgeBase(ProcessTest.java:40)
at com.sample.ProcessTest.main(ProcessTest.java:24)
Caused by: org.drools.RuntimeDroolsException: value '1.7' is not a valid language level
at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.getDefaultLanguageLevel(JavaDialectConfiguration.java:161)
at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:56)
at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:273)
... 9 more
Can anyone shed any light as to how this can be resolved? Am I missing plugins or Drools Rule Engine?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/632929#632929]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111021/5412a685/attachment.html
More information about the jboss-user
mailing list