【问题标题】:Error while starting the Glassfish server + BIRT dependencies启动 Glassfish 服务器时出错 + BIRT 依赖项
【发布时间】:2012-06-29 06:08:22
【问题描述】:

我正在尝试使用 Eclipse Indigo 3.7.1 在 GlassFish 服务器 (v 3.1.2) 上部署 Java Web 应用程序,但我总是遇到此异常:

cannot Deploy MetricsReportingProject
Deployment Error for module: MetricsReportingProject: Error occurred during deployment: 
Exception while loading the app : 
java.lang.IllegalStateException: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException:
java.lang.RuntimeException:
com.sun.faces.config.ConfigurationException: 
java.util.concurrent.ExecutionException: 
com.sun.faces.config.ConfigurationException: 
Unable to parse document 'bundle://136.0:1/com/sun/faces/jsf-ri-runtime.xml': 
DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.. Please see server.log for more details.

这是我的项目的依赖项:

  • Hibernate 3.4.0 依赖项
  • BIRT DE 和 BIRT 查看器 3.7.1
  • JSF 2.0
  • PrimeFaces 3.2

项目在我创建时正在运行,但在进行一些修改并重新启动服务器多次后出现问题。

谁能帮我解决这个问题。

【问题讨论】:

标签: jsf glassfish birt


【解决方案1】:

我遇到了同样的问题。

Glassfish 提供了一个 -xercesImpl-2.9.1.jar - xml-apis-1.3.04.jar

但是在Birt Lib中,他们有xercesImpl-2.9.0.jar

我刚刚从 Birt Lib 中删除了 xercesImpl-2.9.0.jar 并重新部署。效果很好。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-21
    • 1970-01-01
    • 2019-05-14
    相关资源
    最近更新 更多