org.springframework.beans.factory.BeanCreationException: Error creating bean with 20
ERROR[main](ContextLoader.java:220)-Contextinitializationfailedorg.springframework.be...
ERROR [main] (ContextLoader.java:220) - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'studentController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mvc.service.StudentService com.mvc.controller.StudentController.studentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'studentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mvc.dao.EntityDao com.mvc.service.StudentService.entityDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityDao' defined in file [E:\tomcat6.0\webapps\cloud\WEB-INF\classes\applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class javax.transaction.TransactionManager)
各位大侠帮帮忙,今天调试出这么个异常一直找不到原因 展开
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'studentController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mvc.service.StudentService com.mvc.controller.StudentController.studentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'studentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mvc.dao.EntityDao com.mvc.service.StudentService.entityDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityDao' defined in file [E:\tomcat6.0\webapps\cloud\WEB-INF\classes\applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class javax.transaction.TransactionManager)
各位大侠帮帮忙,今天调试出这么个异常一直找不到原因 展开
2个回答
展开全部
你好。
这是说你的bean配置有问题。
studentController、studentService、entityDao有问题。
这是说你的bean配置有问题。
studentController、studentService、entityDao有问题。
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询