如果在当前项目中 可使用
<property name="mapperLocations" value="classpath:/com/sesame/**/dao/*.xml"></property>
如果xml 在jar里 就需要这样写
<property name="mapperLocations" value="classpath*:/com/sesame/**/dao/*.xml"></property>
但是怎么让这两种并存呢?
我找到过这种配置
<property name="mapperLocations">
<array>
<value>classpath*:com/sesame/**/dao/*.xml</value>
<value>classpath:com/sesame/**/dao/*.xml</value>
</array>
</property>
但启动会报错,求大神解决