was启动项目报错

was版本:8.5.5.9wasjdk:1.8项目使用C3P0可以正常启动,使用JNDI启动报错。如果换成wasjdk1.7可以正常启动,无问题。请问,这个问题,如何解决,错误信息,详见附件。急,在线等待。谢谢!显示全部

was版本:8.5.5.9

wasjdk:1.8

项目使用C3P0可以正常启动,使用JNDI启动报错。

如果换成wasjdk1.7可以正常启动,无问题。

请问,这个问题,如何解决,错误信息,详见附件。

急,在线等待。

谢谢!

附件:

附件图标错误信息.txt (116.87 KB)

收起
参与10

查看其它 1 个回答YuLimin的回答

YuLiminYuLimin资深技术顾问IBM广州

[16-12-6 10:38:00:254 CST] 00000045 ContextLoader E org.springframework.web.context.ContextLoader initWebApplicationContext Context initialization failed

                                 org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'Advice\': Cannot resolve reference to bean \'transactionManager\' while setting bean property \'transactionManager\'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'transactionManager\' defined in URL [wsjar:file:/home/ap/was/AppServer/profiles/AppSrv02/installedApps/COREDEVap1Node01Cell/udmp_war.ear/udmp.war/WEB-INF/lib/udmp-biz-0.4.0.jar!/META-INF/spring/applicationContext.xml]: Cannot resolve reference to bean \'dataSource\' while setting bean property \'dataSource\'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'dataSource\' defined in URL [wsjar:file:/home/ap/was/AppServer/profiles/AppSrv02/installedApps/COREDEVap1Node01Cell/udmp_war.ear/udmp.war/WEB-INF/lib/udmp-biz-0.4.0.jar!/META-INF/spring/applicationContext.xml]: Invocation of init method failed; nested exception is com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is javax.xml.parsers.FactoryConfigurationError: Provider javax.xml.parsers.DocumentBuilderFactory could not be instantiated: java.util.ServiceConfigurationError: javax.xml.parsers.DocumentBuilderFactory: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not a subtype]]


XML解析包冲突的问题,JDK7可以就直接用JDK7用不是更好?

互联网服务 · 2016-12-08
浏览2206

回答者

YuLimin
资深技术顾问IBM广州
擅长领域: 中间件服务器应用服务器

YuLimin 最近回答过的问题

回答状态

  • 发布时间:2016-12-08
  • 关注会员:4 人
  • 回答浏览:2206
  • X社区推广