Pārlūkot izejas kodu

修复Mybatis扫描Mapper配置问题

xueli.xue 9 gadus atpakaļ
vecāks
revīzija
89cf8a35da

+ 1 - 1
xxl-job-admin/src/main/resources/applicationcontext-database.xml Parādīt failu

39
 	
39
 	
40
 	<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
40
 	<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
41
 		<property name="dataSource" ref="dataSource" />
41
 		<property name="dataSource" ref="dataSource" />
42
-		<property name="mapperLocations" value="classpath*:mybatis-mapper/*.xml"/>
42
+		<property name="mapperLocations" value="classpath:mybatis-mapper/*.xml"/>
43
 	</bean>
43
 	</bean>
44
     
44
     
45
     <!-- scope must be "prototype" when junit -->
45
     <!-- scope must be "prototype" when junit -->