java.lang.RuntimeException:无法加载方言'org.drools.rule.builder.dialect.java.JavaDialectConfiguration

时间:2018-02-02 06:57:23

标签: drools drools-kie-server

我正在使用

KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(xlsRes, ResourceType.DRL);

我在weblogic中收到以下错误。当我在eclipse中运行时,在独立应用程序中工作正常     我在用     Java8     流口水6.1.0     weblogic12c

java.lang.RuntimeException: Unable to load dialect 'org.drools.rule.builder.dial
ect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.Java
DialectConfiguration'
        at org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl.ad
dDialect(KnowledgeBuilderConfigurationImpl.java:352)
        at org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl.bu
ildDialectConfigurationMap(KnowledgeBuilderConfigurationImpl.java:338)
        at org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl.in
it(KnowledgeBuilderConfigurationImpl.java:220)
        at org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl.in
it(KnowledgeBuilderConfigurationImpl.java:188)
        at org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl.<i
nit>(KnowledgeBuilderConfigurationImpl.java:178)

提前致谢

0 个答案:

没有答案