问题:The compiler compliance specifies is 1.5 but JRE1.8 is used

当前的执行环境是1.5又要让它在1.8里面执行,

解决办法:在pom.xml文件中做出相应的改动。

1.找到maven中央仓库https://mvnrepository.com/,搜索maven-compiler-plugin

2.把中央仓库找到的贴到pom文件中

 

 

3.

 

posted on 2020-02-29 19:24  识途老码  阅读(1128)  评论(0编辑  收藏  举报