读书人

WAS7+Spring中NullPointException有关

发布时间: 2013-09-11 17:27:29 作者: rapoo

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以上,这个问题就解决了


我的异常网推荐解决方案:org.springframework.beans.factory.BeanCreationException:,http://www.myexception.cn/j2ee/10759.html

读书人网 >编程

热点推荐