was启动项目报错

was版本:8.5.5.9

wasjdk:1.8

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

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

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

急,在线等待。

谢谢!

附件:

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

参与10

2同行回答

YuLiminYuLimin资深技术顾问IBM广州
[16-12-6 10:38:00:254 CST] 00000045 ContextLoader E org.springframework.web.context.ContextLoader initWebApplicationContext Context initialization failed                      ...显示全部

[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
浏览2169
chenda_whochenda_who项目经理九江银行
很不错的经验分享显示全部

很不错的经验分享

收起
银行 · 2017-06-02
浏览1608

提问者

xuehulin
研发工程师git

相关问题

问题状态

  • 发布时间:2016-12-08
  • 关注会员:4 人
  • 问题浏览:3318
  • 最近回答:2017-06-02
  • X社区推广