问题描述
如题,只有xxxMapper.class文件,好奇怪啊我单独新建个普通的Dynamic Web Project,又是可以正常编译的.
解决方案
在<build>中加 <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> <include>**/*.tld</include> </includes> <filtering>true</filtering> </resource> </resources>指定你包含的数据
解决方案二:
在<build>中加 <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> <include>**/*.tld</include> </includes> <filtering>true</filtering> </resource> </resources>指定你包含的数据
时间: 2024-09-17 04:13:30