thqsy1995
thqsy1995
采纳率0%
2017-10-13 02:57 阅读 673

tomcat7转9报错出现的异常

eclipse在tomcat7上可以运行没异常的项目在tomcat9上就报错了,,好心的大腿求解决啊,急急急

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseDaoImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.orm.hibernate4.LocalSessionFactoryBean com.totzcc.common.dao.impl.BaseDaoImpl.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\MyWorkSpaces.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\app-manager-reafang\WEB-INF\classes\spring\spring-jdbc.xml]: Invocation of init method failed; nested exception is java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/transaction/SystemException

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

相关推荐