报错:
Error creating bean with name ‘org.springframework.context.event.internalEventListenerProcessor’
Error creating bean with name 'org.springframework.context.event.internalEve
Error creating bean with name ‘org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0’:
原因:导入的aop所需jar包冲突
解决:
注:spring用的版本是4.3.10
<dependency>
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>1.8.9</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.2.2</version>
</dependency>