S2S4H4项目Tomcat启动报错:Error creating bean with name
启动SSH项目时,tomcat报错:
异常如下:
Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.event.internalEventListenerProcessor': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:478)
...(省略)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
... 19 more
Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
at java.lang.Class.getDeclaredMethods0(Native Method)
... 31 more
Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
... 49 more
我的项目是基于maven的,aop包确实导入了:
所以,求解
上一篇: 魔王与公主(很难看懂哦)
下一篇: 厉害的可怕的女人们
推荐阅读
-
Error creating bean with name报错
-
Spring Boot 报错:Error creating bean with name 'entityManagerFactory' defined in class path resource
-
springboot启动时 报Error creating bean with name ‘XXXMapper‘ defined in file
-
Spring整合MyBatis框架时报错解决Error creating bean with name ‘xxx‘: Unsatisfied dependency expressed...
-
SpringBoot报错: Error creating bean with name freeMarkerConfigurer defined in class path resource
-
Spring Boot 报错:Error creating bean with name 'entityManagerFactory' defined in class path resource
-
S2S4H4项目Tomcat启动报错:Error creating bean with name
-
报错 Error creating bean with name 'requestMappingHandlerAdapter' 解决
-
Spring整合MyBatis框架时报错解决Error creating bean with name ‘xxx‘: Unsatisfied dependency expressed...
-
springboot启动时 报Error creating bean with name ‘XXXMapper‘ defined in file