3

当我使用

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

我在 weblogic 中收到以下错误。当我在 Eclipse 中运行时,在独立应用程序中也可以正常工作。
我正在使用 Java8 drools 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)

提前致谢

4

0 回答 0