was版本:8.5.5.9
wasjdk:1.8
项目使用C3P0可以正常启动,使用JNDI启动报错。
如果换成wasjdk1.7可以正常启动,无问题。
请问,这个问题,如何解决,错误信息,详见附件。
急,在线等待。
谢谢!
附件:
错误信息.txt (116.87 KB)
[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用不是更好?
收起