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条)

报告相同问题?

悬赏问题

  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码