5

myeclipse启动该报错 Context initialization failed

图片说明*图片说明*ERROR [localhost-startStop-1] - Context initialization failed**
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deptDao' defined in file [D:\Tomcat\apache-tomcat-7.0.78\webapps\HrmApps\WEB-INF\classes\com\macw\dao\DeptDao.class]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotationUtils.postProcessAnnotationAttributes(Ljava/lang/reflect/AnnotatedElement;Lorg/springframework/core/annotation/AnnotationAttributes;ZZ)V
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

刚学Springmvc 启动报错,请问这是什么原因啊,我排查了好久没找到。在线求解答!!
查看全部
MacWx
大树先生.
2017/12/10 03:30
  • spring
  • tomcat
  • initialization
  • eclipse
  • 点赞
  • 收藏
  • 回答
    私信

13个回复