解决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:


在资源管理器下,找到项目所在的目录,在.settings子目录里面,用记事本开org.eclipse.wst.common.project.facet.core.xml配置文件,



找到<installed facet="java" version="版本号" />这一行,修改"版本号",



让它与项目的编译器版本设置保持一致即可。(要查看项目的编译器版本设置,在Eclipse环境中,鼠标右键选择项目,点击属性,选择Java编译器,可以在窗口右边看到编译器版本了)。

相关文章
|
8月前
|
Java 应用服务中间件 nginx
【异常解决】java程序连接MinIO报错The request signature we calculated does not match the signature you provided.
【异常解决】java程序连接MinIO报错The request signature we calculated does not match the signature you provided.
782 0
|
22天前
|
Java
IDEA Error:java: Compilation failed: internal java compiler error 解决办法
IDEA Error:java: Compilation failed: internal java compiler error 解决办法
|
22天前
|
前端开发 Java 应用服务中间件
【异常解决】java程序连接MinIO报错The request signature we calculated does not match the signature you provided.
【异常解决】java程序连接MinIO报错The request signature we calculated does not match the signature you provided.
46 0
|
8月前
|
Cloud Native Java Go
解决 Spring Boot 和 Gradle Java 版本兼容性问题:A problem occurred configuring root project ‘demo1‘. > Could n
解决 Spring Boot 和 Gradle Java 版本兼容性问题:A problem occurred configuring root project ‘demo1‘. > Could n
499 0
|
8月前
|
Java 编译器
【Java异常】Error:java: Compilation failed: internal java compiler error 的解决方案
【Java异常】Error:java: Compilation failed: internal java compiler error 的解决方案
119 0
|
8月前
解决Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 62问题~
解决Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 62问题~
|
8月前
|
Java Spring
Java报错Project ‘org.springframework.boot:spring-boot-starter-parent:2.x.0.RELEASE
Java报错Project ‘org.springframework.boot:spring-boot-starter-parent:2.x.0.RELEASE
|
8月前
|
Java 编译器
this version of the Java Runtime only recognizes class file versions up to 52.0
this version of the Java Runtime only recognizes class file versions up to 52.0
106 0
|
10月前
|
安全 Java 程序员
浅析一下Java FFM API(Project Panama)
本文主要分析了Java FFM API的实现原理,探究其与JNI以及jdk.internal.misc.Unsafe联系。
303 2