u013007677
luoleta1988
2012-10-22 09:36

j2ee

  • it技术
  • 互联网问答
  • IT行业问题
  • 编程语言问答
  • 计算机技术

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

为你推荐

换一换