chinapaladin 2016-04-28 06:35 采纳率: 0%
浏览 1431

升级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条回答

  • chinapaladin 2016-04-28 07:09
    关注

    自己顶!d=====( ̄▽ ̄*)b

    评论

报告相同问题?

悬赏问题

  • ¥15 FPGA-SRIO初始化失败
  • ¥15 MapReduce实现倒排索引失败
  • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
  • ¥15 找一位技术过硬的游戏pj程序员
  • ¥15 matlab生成电测深三层曲线模型代码
  • ¥50 随机森林与房贷信用风险模型
  • ¥50 buildozer打包kivy app失败
  • ¥30 在vs2022里运行python代码
  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题