天天看点

解决Property ‘mapperLocations‘ was not specified or no matching resources found问题

问题描述

解决Property ‘mapperLocations‘ was not specified or no matching resources found问题
<!-- 项目打包时会将java目录中的*.xml文件也进行打包 -->
     <build>
         <resources>
             <resource>
                 <directory>src/main/java</directory>
                 <includes>
                     <include>**/*.xml</include>
                 </includes>
                 <filtering>false</filtering>
             </resource>
         </resources>
     </build      

参考 解决Property ‘mapperLocations‘ was not specified or no matching resources found问题_经常健身的文安的博客