javaservice faces 2.2 requires dynamic web module 2.5 怎么解决
1个回答
展开全部
1、打开项目根目录下的.project
<nameorg.eclipse.wst.common.project.facet.core.builder< name<natureorg.eclipse.jem.workbench.javaemfnature< nature<natureorg.eclipse.wst.common.modulecore.modulecorenature< nature<natureorg.eclipse.wst.common.project.facet.core.nature< nature2.重新打开eclipse,在项目下点击左键选择项目属性 选择Project facets 选中Dynamic web project ,java,javascript,如果选中Dynamic web project 选择不能确定,或tomcat x.x does not support version 2.5 of J2EE specification.....异常,排除Dynamic web Module于某些项不能同时选择的异常.解决方式是:
打开项目根目录下的.settings在有个名为org.eclipse.wst.common.project.facet.core.xml的文件,里面配置有各种版本信息。此时,按照通常按照如下修改.在<fixed facet="wst.jsdt.web" <fixed facet="jst.web" <fixed facet="java" <installed facet="java" version="1.6" <fixed facet="wst.jsdt.web" <installed facet="java" version="1.6" <installed facet="jst.web" version="2.5"
<natureorg.eclipse.jem.workbench.javaemfnature< nature<natureorg.eclipse.wst.common.modulecore.modulecorenature< nature<natureorg.eclipse.wst.common.project.facet.core.nature< nature
<nameorg.eclipse.wst.common.project.facet.core.builder< name<natureorg.eclipse.jem.workbench.javaemfnature< nature<natureorg.eclipse.wst.common.modulecore.modulecorenature< nature<natureorg.eclipse.wst.common.project.facet.core.nature< nature2.重新打开eclipse,在项目下点击左键选择项目属性 选择Project facets 选中Dynamic web project ,java,javascript,如果选中Dynamic web project 选择不能确定,或tomcat x.x does not support version 2.5 of J2EE specification.....异常,排除Dynamic web Module于某些项不能同时选择的异常.解决方式是:
打开项目根目录下的.settings在有个名为org.eclipse.wst.common.project.facet.core.xml的文件,里面配置有各种版本信息。此时,按照通常按照如下修改.在<fixed facet="wst.jsdt.web" <fixed facet="jst.web" <fixed facet="java" <installed facet="java" version="1.6" <fixed facet="wst.jsdt.web" <installed facet="java" version="1.6" <installed facet="jst.web" version="2.5"
<natureorg.eclipse.jem.workbench.javaemfnature< nature<natureorg.eclipse.wst.common.modulecore.modulecorenature< nature<natureorg.eclipse.wst.common.project.facet.core.nature< nature
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询