Java 8 Java8和weblogic12c上的RuleBaseLoader loadFromInputStream drools 2.5编译错误
使用drools-io-2.5.jar从服务器上的DB编译规则库时,我们面临编译错误Java 8 Java8和weblogic12c上的RuleBaseLoader loadFromInputStream drools 2.5编译错误,java-8,drools,weblogic12c,rule-engine,Java 8,Drools,Weblogic12c,Rule Engine,使用drools-io-2.5.jar从服务器上的DB编译规则库时,我们面临编译错误 RuleBaseLoader.loadFromInputStream(stream); stream是从数据库中选取的XML输入流 这段代码适用于JAVA6和WebLogic11g,但当我们在JAVA8上部署WebLogic12c时,我们开始出现错误 谁能给我一个方向,怎么解决这个问题 错误: <09-09-2020 18:12:47.235> <DEBUG> <ejbframe
RuleBaseLoader.loadFromInputStream(stream);
stream是从数据库中选取的XML输入流
这段代码适用于JAVA6和WebLogic11g,但当我们在JAVA8上部署WebLogic12c时,我们开始出现错误
谁能给我一个方向,怎么解决这个问题
错误:
<09-09-2020 18:12:47.235> <DEBUG> <ejbframework> <system> <RulesHelper> <subscriber-type-rules Checking rule base: subscribertypemapping>
<09-09-2020 18:12:47.237> <DEBUG> <ejbframework> <system> <RulesHelper> <subscriber-type-rules (Re)loading rule base: subscribertypemapping>
<09-09-2020 18:12:47.237> <DEBUG> <ejbframework> <system> <RulesHelper> <subscriber-type-rules Loading subscribertypemapping rulebase>
<09-09-2020 18:12:48.301> <DEBUG> <ejbframework> <system> <RulesHelper> <subscriber-type-rules Unexpected Error: A problem occured compiling the embedded code:
drools/org/subscribertypemapping_1599664368295/java/Function_0_0.java(28)
The type java.lang.reflect.AnnotatedElement cannot be resolved. It is indirectly referenced from required .class files
>
<09-09-2020 18:12:48.301> <DEBUG> <ejbframework> <system> <RulesHelper> <subscriber-type-rules Problem with loading Rulebase: subscribertypemapping>
提前谢谢 你能发布编译错误消息吗?用错误更新了这个问题,谢谢,就像一个类似于trim24的问题一样。是的,我同意trim24——你正在处理这个库的一个版本,它还不到15年。Java已经发生了巨大的变化,您可能正在使用一种不再存在或不受支持的语言特性(或者向后兼容不够)