今天用Eclipse部署一个Web项目Test,报如下错误:The server does not support version
3.0 of
the J2EE Web module specification
原来创建Test时用的是Tomcat
6.0,jdk都是用的1.6
Tomcat 6.0最多支持Servlet
2.5
解决如下:
在项目根目录下有一个.settings的文件夹,该文件夹下有一个org.eclipse.wst.common.project.facet.core.xml文件,内容如下:
<?xml
version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="jst.web"/>
<fixed
facet="wst.jsdt.web"/>
<fixed facet="java"/>
<installed facet="java" version="1.5"/>
<installed
facet="jst.web" version="3.0"/>
<installed facet="wst.jsdt.web"
version="1.0"/>
</faceted-project>
把<installed
facet="jst.web" version="3.0"/>改为 <installed facet="jst.web"
version="2.5"/>
分享到:
相关推荐
问题4:The server does not support version 3.0 of the J2EE Web module specification 解决方法是:在 Eclipse 安装文件里面的 .setting 文件里面的 org.eclipse.wst.common.project.facet.core.xml 文件,修改 ...
TypeError: loop of ufunc does not support argument 0 of type Tensor which has no callable arctan method 报错行 self.u = np.round(np.dot(self.F, self.u)) #或者 self.u = np.round(self.u + np.dot(K, ...
### ArcGIS中“Number of shape does not match the number of table records”问题解析及解决方法 #### 问题背景 在使用ArcGIS进行空间数据分析时,可能会遇到一个常见的问题:“Number of shape does not match ...
在线烧录程序时出现“The firmware of the connected J-Link[SN:20090928] does not support the following memory access:Read&@0x02000004 Flags:via AHB-AP”错误提示
- 验证安装: `svnserve --version` 2. **创建资源库** - 资源库目录需在`/var/svn/`下以确保能设置开机自启: `mkdir -p /var/svn` - 创建SVN资源库: `svnadmin create /var/svn/project` 3. **修改配置文件** ...
安装SqlServer2008R2遇到系统提示: 代码如下:SQL Server setup media does not support the language of the OS or does not have ENU localized files.Use the matching language-specific SQL Server media or ...
eil烧录报错:The firmware of the connected J-Link does not support the following memory access:Read @0x02000004使用该文件替换Keil_v5/ARM/Segger安装目录下的文件可解决。如果没有积分,请联系笔者。
标题 "The skin does not exist: Unable to determine the release version" 提到的问题,通常是与软件部署或更新时出现的错误有关,尤其是与版本控制或者界面显示有关。这可能是指在使用某些开源工具或框架时,系统...
1. Download the latest version of CanFestival from the official website or repository. 2. Extract the source code archive to a directory of your choice. 3. Run the configure script to set up the build...
标题“Does the parameter type of the setter match the return type of the getter?”涉及到的是getter和setter方法的一致性问题,即getter的返回类型是否应该与setter的参数类型相匹配。这个问题关系到代码的规范...
在使用MySQL时,有时会遇到一个常见的错误提示:“Client does not support authentication protocol requested by server”。这个错误通常发生在尝试使用较旧版本的客户端连接到MySQL 4.1或更高版本的服务器时,...
解决SVN上传提示Empty directoriesis not supported 解决SVN上传提示Empty directoriesis not supported
BIOS+UEFI启动引导修复工具
然而,开发者们时常会遇到各种各样的错误,其中“SDK does not contain 'libarclite' at the path”是一个常见的问题,主要与Apple的Automatic Reference Counting (ARC)机制有关。本文将深入探讨这个错误的原因、...
J-link V8_Firmware_20121126.bin 可以在 J-Link ARM V4.64 中正常使用。
标题 "does not exist. 解决 /root/.Xauthority does not exist" 涉及到的是一个常见的 Linux 系统问题,通常在使用图形界面(如 X Window System)或通过 SSH 远程连接时遇到。这个问题指出,系统找不到 `/root/....
MathWorks hosts the guidelines, but does not create them. To develop Version 3.0 of the guidelines, the MAAB used MathWorks Release 11b. Model Advisor checks included in Simulink Check were developed...
quartusII 破解后运行仿真出现如下错误的解决办法 Error: Current license file does not support the EP1C6Q240C8 device。
mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
trademark, copyright or other notice from the specification, but the receipt or possession of this specification does not convey any rights to reproduce, disclose, or distribute its contents, or to ...