Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0': Cannot cre
2017-02-22 19:55
531 查看
Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0': Cannot create inner bean '(inner bean)#35b652' of type [org.springframework.aop.aspectj.AspectJMethodBeforeAdvice] while setting constructor argument; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#35b652': Cannot resolve reference to bean 'Aspect' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean named 'Aspect' is defined的报错问题
在applicationContext.xml里面没有配置切入点 <aop:pointcut expression="execution(* com.service.*.*(..))" id="PointCut"/><!--代表com.service包下面的所有的类或接口,记住还要配置切面和通知-->
新手上路,如果有错欢迎指出。谢谢
is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#35b652': Cannot resolve reference to bean 'Aspect' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean named 'Aspect' is defined的报错问题
在applicationContext.xml里面没有配置切入点 <aop:pointcut expression="execution(* com.service.*.*(..))" id="PointCut"/><!--代表com.service包下面的所有的类或接口,记住还要配置切面和通知-->
新手上路,如果有错欢迎指出。谢谢
相关文章推荐
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name
- 关于org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFac
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name
- Error creating bean with name 'org.springframework.context.annotation.internalRequiredAnnotationProc
- 解决org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.spring
- nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1': Can
- ssh2 整合 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in Servl
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContex
- Error creating bean with name 'userService': Injection of resource methods failed; nested exception is org.springframework.beans
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 't
- Error creating bean with name 'userService': Injection of resource methods failed; nested exception is org.springframework.beans
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContex
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lanagerServi
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mybatis.
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name'se
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFacto
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'o
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'infoContentA