Eclipse部署项目,常见几个问题解决方案

一、解决java compiler level does not match the version of the inst

解决方案:(一般出现在拷贝项目)

第一步:在Eclipse环境中,鼠标右键选择项目,点击Properties,选择Java Compiler,可以在窗口右边看到编译器版本,如图所示:

第二步:在项目的.settings子目录里面,找到并修改org.eclipse.wst.common.project.facet.core.xml配置文件与项目的编译器版本设置保持一致如图所示:

猜你喜欢

转载自www.cnblogs.com/qinchanggui/p/12370419.html