luoleta1988 2012-10-22 09:36 采纳率: 0%
浏览 249
已采纳

j2ee

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonDAO' defined in file [C:\Program Files\apache-tomcat-6.0.30\webapps\ROOT\WEB-INF\classes\config\spsystem\spring\applicationcontext-common.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateTemplate' defined in file [C:\Program Files\apache-tomcat-6.0.30\webapps\ROOT\WEB-INF\classes\config\spsystem\spring\applicationcontext-resource.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:\Program Files\apache-tomcat-6.0.30\webapps\ROOT\WEB-INF\classes\config\spsystem\spring\applicationcontext-resource.xml]: Invocation of init method failed; nested exception is net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
这个是什么错误呀,是不是asm-3.2.jar与asm-commons-3.2.jar包冲突了呀,好像是哪个包冲突了的,要把旧的版本的包删掉,

  • 写回答

3条回答 默认 最新

  • henghanan 2012-10-22 09:43
    关注

    你用的是不是Spring2.0?如果是的话初步判定是jar包冲突的问题
    请看链接http://sech.iteye.com/blog/137057一楼的回复

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试
  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿