警告: Exception encountered during context initialization - cancelling refresh attempt: org.springfram
2017-05-10 20:41
1491 查看
警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderService' defined in class path resource [applicationContext.xml]: Initialization
of bean failed; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'txadvice' is expected to be of type 'org.aopalliance.aop.Advice' but was actually of type 'org.springframework.transaction.interceptor.TransactionInterceptor'
在spring中遇到了该错误,解决办法是---->删除了多余jar包----->aopalliance.jar
of bean failed; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'txadvice' is expected to be of type 'org.aopalliance.aop.Advice' but was actually of type 'org.springframework.transaction.interceptor.TransactionInterceptor'
在spring中遇到了该错误,解决办法是---->删除了多余jar包----->aopalliance.jar
相关文章推荐
- 警告: Exception encountered during context initialization - cancelling refresh attempt org.springframe
- Exception encountered during context initialization - cancelling refresh attempt: org.springframewor
- 警告: Exception encountered during context initialization - cancelling refresh attempt:
- Spring AOP 报错 Exception encountered during context initialization - cancelling refresh attempt[已解决]
- Exception encountered during context initialization - cancelling refresh attempt
- tomcat启动出现 encountered during context initialization - cancelling refresh attempt异常
- 报错解决Context initialization failed org.springframework.beans.factory.BeanCreationException
- 严重:Context initialization failed org.springframework.beans.factory.BeanCreationException: 解决方案
- Context initialization failed org.springframework.beans.factory.BeanCreationException:
- 关于 Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException 错误
- 严重: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error cre
- Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: IOExc
- Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException:
- Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creatin
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener错误解决方案
- javax.servlet.UnavailableException: org/springframework/web/context/WebApplicationContext
- 严重: Exception sending context initialized event to listener instance of class org.springframework.we
- Exception sending context initialized event to listener instance of class org.springframework.web.ut
- 【原创】java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- maven 项目出现 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener