在电脑从win10 家庭升到win10 企业版后问题出现的
后面经过我的机智才华
在
发现可能是插件因为版本升级,自己可能
不兼容 默认关闭了,手动开启即可
如果spring boot 的 配置文件不生效
可以看pom.xml 的resource 是否把 spring的相关文件过滤了,
放一个我自己常用的配置哈
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.datx</include>
<include>**/*.txt</include>
<include>**/*.jpg</include>
<include>static/**</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<finalName>${project.artifactId}</finalName>
</build>