org.springframework.beans.factory.BeanCreationException: Error creating bean with name xxx

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'projectingArgumentResolverBeanPostProcessor' defined in class path resource [org/springframework/data/web/config/ProjectingArgumentResolverRegistrar.class]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error Type referred to is not an annotation type: VerifyLogin.

写aop的时候切入表达式写错了,改一下就好。

猜你喜欢

转载自blog.csdn.net/LYXlyxll/article/details/132028392