修复Mybatis扫描Mapper配置问题

This commit is contained in:
xueli.xue 2016-05-25 15:26:37 +08:00
parent 8a1cffbf30
commit 89cf8a35da
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"> <bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
<property name="dataSource" ref="dataSource" /> <property name="dataSource" ref="dataSource" />
<property name="mapperLocations" value="classpath*:mybatis-mapper/*.xml"/> <property name="mapperLocations" value="classpath:mybatis-mapper/*.xml"/>
</bean> </bean>
<!-- scope must be "prototype" when junit --> <!-- scope must be "prototype" when junit -->