Idea 中提示:Warning:java: 源值1.5已过时, 将在未来所有发行版中删除

xiaoxiao2021-02-28  88

1、在POM文件中添加属性值:

<properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties>

2、更新pom文件

转载请注明原文地址: https://www.6miu.com/read-31015.html

最新回复(0)