chinapaladin
2016-04-28 06:35升级struts2 2.3.16 报错 BeanCreationException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'treeMenuDao' defined in ServletContext resource [/WEB-INF/dataAccessContext-local.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.sunyard.zj.dao.ibatis.TreeMenuDaoImpl]: Constructor threw exception; nested exception is java.lang.NullPointerException
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.sunyard.zj.dao.ibatis.TreeMenuDaoImpl]: Constructor threw exception; nested exception is java.lang.NullPointerException
Caused by: java.lang.NullPointerException
原来用的struts2 2.0.11 版本 最近说有漏洞要升级,结果升级了就报错,用的strunts+spring+ibatis. 网上找了好多解决办法都是对于hibernate的。求大神帮忙。
- 点赞
- 回答
- 收藏
- 复制链接分享
2条回答
为你推荐
- FOSUserBundle和Symfony 3.0?
- symfony
- php
- 3个回答
- doctrine / migrations与symfony 2.2不兼容。*
- symfony
- php
- 1个回答
- 服务器将图像作为响应发送,并在服务之前将其重命名 - Symfony 2
- http-headers
- symfony
- php
- 1个回答
- Behat与Symfony3不兼容?
- symfony
- php
- 1个回答
- Tomcat启动Struts2.3.16+Spring3.2+Hibernate4项目时启动超级慢,请教
- ssh
- 0个回答