illegalargumentexception:version 1.8 of project facet java does not exist
2019-01-13 12:31
344 查看
这个异常是我在创建完springboot项目之后报的异常。
直接在网上搜索这个标题没有答案(可能是姿势不对,o(* ̄︶ ̄*)o)
下面是我解决的方法,记录一下:
我是先找到这篇文章:
facet版本问题:Project facet Java version 1.8 is not supported
https://www.geek-share.com/detail/2705819979.html
按照,他的提示,右键项目,找到最下面的properties,在搜索facet,然后要选择1.8,但是没有1.8这个选项,我电脑安装了1.8
的jdk,下面是截图(如果没有安装的话,那应该就没有1.8可以选,但是我安装了1.8的jdk却没有,如此神奇):
于是我开始找到了这篇文章:
eclipse 没有Java compiler 1.8 或者 没有Java facet 1.8
https://blog.csdn.net/ejiao1233/article/details/80699730
但是安装下面这个插件的时候,提示资源不存在,
我在浏览器中直接按照eclipse的error提示的网址打开,果然没有,那么我就先不安装这个插件了,去安装下一个插件
因为上面的插件找不到了,所以安装下一个,如图:
这个插件可以安装,安装过程很顺利,安装完成之后,重启eclipse,java1.8就自动被选中了
然后,选中项目,右键-->maven->update project项目之后,springboot项目就不报错了,可以运行了
浏览器访问也正常:
相关文章推荐
- Version 1.8 of project facet java does not exist.
- 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.lang.IllegalArgumentException: column 'xxx' does not exist解决方法
- 项目名报错,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 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 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 facet:Java编译器的水平不相匹配的版本
- 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.lang.IllegalArgumentException: D:\eclipse\.. does not exist or is not a readable directory解决方法
- 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.lang.IllegalArgumentException: Document base F:\personal\projects\annoMVC\web does not exist or is not a readable directory