找到maven文件夹config/setting.xml文件,首先第一行必须是版本及编码声明,再去看
jdk-1.8
true
1.8
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
对齐,没有多余的空格!!!!!!!!!!
本文详细介绍了如何正确配置Maven的settings.xml文件,确保其与JDK 1.8的兼容性和正确设置,避免编译过程中的版本不一致问题。

2915

被折叠的 条评论
为什么被折叠?



