Error creating bean with name “org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0”: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name “org.springframework.cache.config.internalCacheAdvisor”: Cannot resolve reference to bean “org.springframework.cache.annotation.AnnotationCacheOperationSource#0” while setting bean property “cacheOperationSource”; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name “org.springframework.cache.annotation.AnnotationCacheOperationSource#0”: 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”: Cannot create inner bean “(inner bean)” of type [org.springframework.aop.aspectj.AspectJExpressionPointcut] while setting bean property “pointcut”; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name “(inner bean)”: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspectj/util/TypeSafeEnum
用的是maven,包应该都下下来了,已启动就这样了
什么情况啊?急死了
用的是maven,包应该都下下来了,已启动就这样了
什么情况啊?急死了
解决方案
40
假如你的工程里确实有这个jar,并且也确实有这个类。那就整个清理一遍吧,例如maven的local repository里找到那个jar对应的目录,删掉重新下,tomcat的缓存清一下,还有把你的web工程也先从tomcat里remove掉,然后把全部工程都重新clean and install一遍,再放到tomcat里去。