很有用的东西,记录一下。 http://www.objectpartners.com/2011/04/05/using-mybatis-annotations-with-spring-3-0-and-maven/