admin管理员组

文章数量:1031776

Eclipse中出现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 facet问题

问题描述

同样的项目copy到另外一个package中报错

解决方法

1. 右键项目 properties --> Java compiler 查看选择的版本

2. 到项目的路径下,使用文本编辑器打开org.eclipse.wstmon.project.facet.core.xml

3.把版本和项目的修改成一致的的版本即可

这样就解决了我们的问题

原因分析

通过查询发现报错的原因是项目的Java compiler和配置文件中的版本不一样

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。 原始发表:2023-08-10,如有侵权请联系 cloudcommunity@tencent 删除javafacetmatchprojectversion

Eclipse中出现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 facet问题

问题描述

同样的项目copy到另外一个package中报错

解决方法

1. 右键项目 properties --> Java compiler 查看选择的版本

2. 到项目的路径下,使用文本编辑器打开org.eclipse.wstmon.project.facet.core.xml

3.把版本和项目的修改成一致的的版本即可

这样就解决了我们的问题

原因分析

通过查询发现报错的原因是项目的Java compiler和配置文件中的版本不一样

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。 原始发表:2023-08-10,如有侵权请联系 cloudcommunity@tencent 删除javafacetmatchprojectversion

本文标签: Eclipse中出现Java compiler level does not match the version of the installed java project facet问题