首页 > 学院 > 开发设计 > 正文

maven不能设置为web3.0的解决方法

2019-11-08 18:24:35
字体:
来源:转载
供稿:网友

错误: Description Resource Path Location Type Cannot change version of PRoject facet Dynamic Web Moduo 3.0.

首先在硬盘下找到 /项目名/.setting/文件夹下的 org.eclipse.wst.common.project.facet.core.xml xml文件。如下设置:

<?xml version="1.0" encoding="UTF-8"?><faceted-project>  <fixed facet="wst.jsdt.web"/>  <installed facet="java" version="1.8"/>  <installed facet="jst.web" version="3.0"/>  <installed facet="wst.jsdt.web" version="1.0"/></faceted-project>然后在eclipse里右键该工程--maven--updateProject即可。


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表