1.JRE版本警告
问题:Build path specifies execution environment JavaSE-11. There are no JREs installed in the workspace
解决方法1:
安装所需JRE,然后Eclipse的Windows->Preference->Installed JREs中添加所需版本JRE
Installed JREs下面的Execution Environments,Execution
Environments中选择JavaSE版本,Compatible JREs中选择对应JRE
解决方法2:
<properties>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
</properties>
网友评论