在Eclipse中用jboss部署项目时遇到了“jboss Project facet Dynamic Web Module version 2.5 is not supported”的问题。
在项目跟目录下的.setting文件夹找到org.eclipse.wst.common.project.facet.core.xml,打开:
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="jst.web"/>
<fixed facet="jst.java"/>
<installed facet="jst.web" version="2.5"/>
<installed facet="jst.java" version="6.0"/>
</faceted-project>
将version="2.5"改成version="2.4"即可。因为web.xml版本是2.4的,需要两者一致,如下:
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
造成这样后果的原因是从SVN上到处eclipse项目时候,连带着将.setting文件下也导下来了。在上传代码到SVN上的时候,一般来说.setting无需上传的,都是在本地由eclipse自动生成的。
分享到:
相关推荐
局部线性嵌入算法(Locally Linear Embedding,LLE)是基于流形学习的非线性降维方法之一。LLE利用样本点的近邻点的线性组合对每个样本点进行局部重构,而不同近邻个数的选取会产生不同的重构误差,从而影响整体算法...
图书管理系统
<module external.linked.project.id="VoicePhone" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4"> ...
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
Java compiler level does not match the version of the installed Java project facet. Unknown Faceted Project Problem (Java Version Mismatch) 1、preferences > java > Installed JRES > 选择java version ...
Familiarity with Oracle Essbase and OLAP would be beneficial but is not essential. While the book is intended for beginners, even experienced Planning developers and users will benefit from this book
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> <facet type="web" name="Web"> <deploymentDescriptor name="web.xml" url="file:...
idea部署eclipse的web项目(tomcat) 跟着走,无脑操作
FACET是用于人类可解释的AI的开源库。它结合了复杂的模型检查和基于模型的仿真,可以更好地解释您监督的机器学习模型。 FACET由以下关键组件组成:模型检查FACET引入了一种新算法来量化ML模型中要素之间的依存关系和...
Learning is a very important facet of everyday life. It is essentially the driving force for evolution, growth, and development for the human race. As people, we take it upon ourselves to learn new ...
用于Elasticsearch的Geo Cluster Facet插件 这个插件提供了一个小与骨料文件geo_point领域。 基于天真的基于距离的算法用于构建具有加权中心的矩形(且可能重叠)的聚类。 要安装插件,请运行: bin/plugin --url ...
Part 2 will cover Web application development. After a J2EE introduction, I'll talk about how to create a robust development environment for Web applications that uses Ant and CVS. With that in place,...
这三个配置正确后 一般就可以正式开搞web project了 1、maven-settings.xml 2、workspace\projectname\.settings\org.eclipse.wst.common.project.facet.core.xml 3、web.xml 详细可参考: a....
Lucene4.6版本,适用于Lucene的所有研究,以及中文分词功能