【发布时间】:2015-02-23 12:29:54
【问题描述】:
更新(我已更新问题,因为我只遇到以下错误)
我已在我的 Eclipse Web 应用程序中替换了一个 Jena 库(以获取更新的版本)。虽然我可以使用新库并且编译不会出错,但当我的代码到达 Jena 的方法时,我收到以下异常。
SEVERE: Servlet.service() for servlet [com.packages.servlets.CreatePatternServlet] in context with path [/TempProject] threw exception [Servlet execution threw an exception] with root cause
java.lang.NoClassDefFoundError: Could not initialize class com.hp.hpl.jena.rdf.model.impl.ModelCom
我的项目中有 log4j.properties,我遇到的其他解决方案似乎没有帮助。 非常感谢提前
【问题讨论】:
标签: java eclipse jena classnotfoundexception