Maven项目 Java compiler level does not match the version of the installed Java project face
来源:互联网 发布:mac vim 退出编辑 编辑:程序博客网 时间:2024/05/29 18:00
这类警告处理办法:
Java compiler level does not match the version of the installed Java project face
原因是你的编译环境JDK与运行不匹配
处理如下:
Maven环境下,可以先指定JDK版本,
<build><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><configuration><source>1.7</source><target>1.7</target></configuration></plugin></plugins></build>我这里指定的1.7版本
(Eclipse中JDK配置)
1.Window--->preferences--->java--->Installed JREs 可以指定自己需要的JDK版本
2.Window--->preferences--->java--->Compiler 指定编译的版本
3.选中项目--->properties--->project Facets--->java 指定一样的版本
4.选中项目--->Maven--->update project
OK
阅读全文
0 0
- Maven项目 Java compiler level does not match the version of the installed Java project face
- 项目名报错,Java compiler level does not match the version of the installed Java project facet.
- 使用Maven创建项目出现Java compiler level does not match the version of the installed Java project facet解决
- eclipse 中java compiler level does not match the version of the installed java project face问题
- Java compiler level does not match the version of the installed Java project
- Eclipse Java compiler level does not match the version of the installed Java project facet.
- Java compiler level does not match the version of the installed Java project fac
- Java compiler level does not match the version of the installed Java project facet
- Java compiler level does not match the version of the installed Java project fac
- Error: Java compiler level does not match the version of the installed Java project facet.
- "Java compiler level does not match the version of the installed Java project facet"异常解决
- Java compiler level does not match the version of the installed Java project facet.
- Java compiler level does not match the version of the installed Java project fac
- Java compiler level does not match the version of the installed Java project facet
- Java compiler level does not match the version of the installed Java project facet 的解决方案
- Java compiler level does not match the version of the installed Java project facet
- Java compiler level does not match the version of the installed Java project
- Java compiler level does not match the version of the installed Java project facet.
- redhat6.8安装redis-4.0.6(无网络安装)
- linux磁盘查看命令
- SuperMap iObjects Java 8C基于地形两点间的可视性分析-下载
- 在java中 i++和++i有什么区别
- 主从DB与cache一致性
- Maven项目 Java compiler level does not match the version of the installed Java project face
- kubelet gc源码分析
- Go 远程import 支持
- NLP汉语自然语言处理原理与实践 2 汉语语言学研究回顾
- rm: cannot remove `libtoolT': No such file or directory 安装Apr出现的问题
- linux后台启动应用与开机启动
- 微信小程序
- 在vue项目中 如何定义全局变量 全局函数
- Java SimpleDateFormat.setLenient(boolean lenient)方法使用