ITeye博客

Spring错误总结

fgh2011 · 2014-03-16 15:02 · Spring · 企业架构 · Markdown

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("========================"); } 表达式中类的路径名写错了,把类的名字写正确就可以了

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。