【问题标题】:Apache Tomcat startup errorApache Tomcat 启动错误
【发布时间】:2011-07-26 14:55:15
【问题描述】:

我在启动 tomcat 时收到此错误:

16:27:21,027 ERROR [main] com.documentum.web.common.Trace - An error occurred during application intialization : org/eclipse/emf/ecore/resource/ResourceSet
java.lang.NoClassDefFoundError: org/eclipse/emf/ecore/resource/ResourceSet
    at com.documentum.services.preset.impl.PackageDefinitionLoader.loadPackageDefinitionFromFile(PackageDefinitionLoader.java:117)

我该如何解决这个问题?

【问题讨论】:

    标签: eclipse apache tomcat eclipse-wtp documentum


    【解决方案1】:

    您缺少一个 jar,其中包含 org.eclipse.emf.ecore.resource.ResourceSet 类的导入。

    这很可能是缺少的 org.eclipse.emf.common 插件 jar。

    【讨论】:

    • 添加包含该类的 ecore-2.1.0.jar 和另一个 common-2.1.0 会导致链接错误
    【解决方案2】:

    在运行时找不到类org.eclipse.emf.ecore.resource.ResourceSet。您必须将所有 Documentum 依赖项添加到类路径。

    【讨论】:

    • 知道在哪里可以找到这门课吗?我已经将所有 documentum jar 添加到构建路径中
    • 这个类好像是来自eclipse建模框架的ecore-2.1.0.jar..看起来不像是dctm类
    猜你喜欢
    • 1970-01-01
    • 2014-08-26
    • 2011-05-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-07-17
    相关资源
    最近更新 更多