关于springMVC配置的问题

javacc 发布于 2013/08/01 17:52
阅读 262
收藏 0

RT:我项目中使用的是Log4j和slf4j

springmvc+mybats

application.xml

xxx-servlet.xml

<Identified candidate component class: file [D:\apache-tomcat-7.0.42\webapps\siyaa\WEB-INF\classes\main\java\xxxx\business\persistence\MastMapper.class]>

2013-08-01 17:38:08,031 DEBUG [org.mybatis.spring.mapper.ClassPathMapperScanner] - <Creating MapperFactoryBean with name 'mastMapper' and 'main.java.xxxx.business.persistence.MastMapper' mapperInterface>
2013-08-01 17:38:08,031 DEBUG [org.mybatis.spring.mapper.ClassPathMapperScanner] - <Enabling autowire by type for MapperFactoryBean with name 'mastMapper'.>

 

MastMapper.java 是个接口。。

为什么打印这些呢,我还需要在哪里怎么添加注解,添加哪个注解。。。

加载中
返回顶部
顶部