WAS7+Spring中NullPointException问题

启动应用时错误信息

 

[11-4-26 16:21:59:065 CST] 00000010 webapp        E com.ibm.ws.webcontainer.webapp.WebApp logError SRVE0293E: [Servlet 错误]-[null]: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'propertyConfigurer' defined in file [C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\tuogappNode01Cell\account2_war.ear\account2.war\WEB-INF\classes\beans\common\applicationContext-common.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException

 

问题原因是spring 的版本问题和IBM的JDK冲突造成

https://jira.springsource.org/browse/SPR-4788

 

更新spring 到 2.5.6以上,这个问题就解决了

你可能感兴趣的:(spring,jdk,bean,IBM,websphere)