Why do i need cglib (Spring AOP) to have multiple test classes?
问题 I have a spring application and I make my test class as follows: @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "classpath:/META-INF/spring/applicationContext.xml" }) @TransactionConfiguration(defaultRollback = true) @Transactional public class MyTest { } When I try to create another test class and tried to run the application, I get the following exception on the new test class: ERROR [main] (TestContextManager.java:324) - Caught exception while allowing