首页 > 代码库 > Failed while installing Dynamic Web Module 2.5. Project facet jst.web.jstl has not been defined.

Failed while installing Dynamic Web Module 2.5. Project facet jst.web.jstl has not been defined.

问题:用eclipse导入一个myeclipse的web项目后,不能添加到tomcat中,在修改project facets的相关属性时报:Failed while installing Dynamic Web Module 2.5. Project facet jst.web.jstl has not been defined.

原因是myeclipse里用到了jstl,所以要去掉jstl.

1、修改项目.setting文件夹下的org.eclipse.wst.common.project.facet.core.xml文件,把

  1. <installed facet="jst.web.jstl" version="1.2.1"/>  
  2. <installed facet="me.spring" version="4.1"/> 

这两个标签去掉。

2、修改.classpath文件,去掉 <attribute name="owner.project.facets" value=http://www.mamicode.com/"jst.web.jstl"/>  

Failed while installing Dynamic Web Module 2.5. Project facet jst.web.jstl has not been defined.