Spring错误总结
1、SpringAOP报错: warning no match for this type name: com.mybatis.test.SpringMybatisTest 。。。 Caused by: java.lang.IllegalArgumentException: warning no match for this type name: com.mybatis.test.SpringMybatisTest
解决办法: @Before(value = "execution (* com.mybatis.SpringMybatisTest.*(..))") public void before() { System.out.println("========================"); } 表达式中类的路径名写错了,把类的名字写正确就可以了