- idea每次运行项目时都提示源值1.5已过时,将在未来所有版本中
- IntelliJ IDEA 源值1.5已过时,将在未来所有版本中
- Warning:java: 源值1.5已过时, 将在未来所有发行
- Information:java: javacTask: 源发行
- Error during artifact deployment
- IDEA中maven工程指定JDK版本·
- 2019-05-01 Sharing is only suppo
- tomcat 服务器连接 mysql 缺少 Driver
- 解决IDEA自动重置LanguageLevel和JavaComp
- idea 2020启动spring boot 报错:程序包不存在
idea每次运行项目时都提示源值1.5已过时,将在未来所有版本中删除的解决办法
1:在maven的setting中设置如下:
<profile>
<id>jdk-1.8</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.8</jdk>
</activation>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
</properties>
</profile>
2:在idea的pom.xml中设置
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
3:在idea的setting中设置
找到 Java compiler 设置成你的jdk版本
4:modules中设置 module sdk
网友评论