3 Replies Latest reply on Sep 4, 2013 12:19 PM by anees rahman

    Jbpm sample project error

    anees rahman Newbie

      Hi I'm new to Jbpm, when I try to run the sample jbpm project (ie. simple "helloworld" project) I'm getting this error on console. I've imported almost all jar files those which are required for jbpm project. But still I'm facing this issues. Can anyone help me to fix this error asap.

       

       

      Exception in thread "main" 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:276)

        at org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:261)

        at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:174)

        at org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:152)

        at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:211)

        at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:142)

        at org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBuilderFactoryServiceImpl.java:34)

        at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:47)

        at com.sample.ProcessMain.readKnowledgeBase(ProcessMain.java:23)

        at com.sample.ProcessMain.main(ProcessMain.java:16)

      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:162)

        at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:57)

        at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:272)

        ... 9 more

       

      Regards,

      Anees Rahman.B