org.drools.RuntimeDroolsException:无法解析类
我有一个同事构建的接缝项目。我正在尝试在 Jboss dev Studio 中构建它。他使用 ant 并手动构建。我在 JBDS 中构建了该项目并部署在 JBoss 服务器上。当我尝试运行该应用程序时,当规则触发时,我收到此错误
原因:org.drools.RuntimeDroolsException:无法解析类“dne.nmst.ciscoconfig.model.ConfigParams_$$_javassist_seam_4”
有问题的代码位于 drools 配置文件中,其中包含 2 个导入
package Config;
import dne.nmst.ciscoconfig.model.ConfigParams;
import dne.nmst.ciscoconfig.action.ConfigSelector;
也许我需要更多详细信息,但我不需要不知道发布什么有用。我什至不确定我是否知道如何提出这个问题,除了如何解决这个问题。有什么建议吗?
I have this seam project that a colleague built. I am trying to get it to build in Jboss dev Studio. He uses ant and builds manually. I got the project built in JBDS and deployed on the JBoss server. When i try to run the app, when it is time for the rules to fire, I get this error
Caused by: org.drools.RuntimeDroolsException: Unable to resolve class 'dne.nmst.ciscoconfig.model.ConfigParams_$$_javassist_seam_4'
The offending code is in the drools config file which includes 2 imports
package Config;
import dne.nmst.ciscoconfig.model.ConfigParams;
import dne.nmst.ciscoconfig.action.ConfigSelector;
Perhaps I need more detail here, I don't know what would be useful to post. I'm not even sure I know how to ask the question other than how do I fix this. Advice anyone?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否 100% 确定包含这些导入的 jar 在运行时可用,而不仅仅是在编译时可用?
Are you 100% sure the jar containing those imports is available at runtime, rather than just at compile time?