`

Tomcat version 6.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 Web modules

阅读更多
 

转自:http://jingwang0523.blog.163.com/blog/static/9090710320113294551497/

最近在用eclipse做项目,新建项目时什么都贪新,用最新的版本,在Dynamic web module version栏里选了最新的3.0版本,布署项目的时候就出现了如期的错误,在网上看到http://hi.baidu.com/yolanda441/b ... 41d36dd1164e2e.html这位兄弟的博客,解决了问题,现将方法贴于此,希望对别人有所帮助:

《通过search,发现在project的.setting folder下面,有个名为org.eclipse.wst.common.project.facet.core.xml的文件,里面配置有各种版本信息。此时,按照本机配置修改这个文件,问题就解决了。

<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="Apache Tomcat v5.5"/>
<fixed facet="jst.web"/>
<fixed facet="jst.java"/>
<installed facet="jst.java" version="5.0"/>
<installed facet="jst.web" version="2.4"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>


像我这样的错误,可以下载Tomcat 7。0解决,不过我闲麻烦,干脆就在配置文件中把<installed facet="jst.web" version="3.0"/> 改成低些的版本version="2.5" 就好了

分享到:
评论

相关推荐

    Maven常见问题解答

    4. **Tomcat 8.5支持的Web模块版本问题**:当出现“Tomcat version 8.5 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5, 6, and 7 Web modules”这样的错误时,原因是动态Web模块的版本设置不正确。要解决这个...

    Java_for_the_Web_with_Servlets

    "Java for the Web with Servlets, JSP, and EJB: A Developer’s Guide to J2EE Solutions" by Budi Kurniawan is a comprehensive guide aimed at helping developers master web programming in Java. The book ...

    QTTabBar_1.2.1.3_glb.zip

    Version 1.1 ( 2007-9-5 ) +Supports Plugins +Supports language file +Option to send window to task tray +Option to specify Preview tip max size +now Toolbar background color is available on XP +merged...

    官方原版apache-tomcat-8.5.31

    首先,Apache Tomcat 8.5.x 支持Java EE 7规范,这意味着它可以处理Java Servlet 3.1、JavaServer Pages (JSP) 2.3、WebSocket 1.1等标准。这些规范提供了更强大的功能,例如异步处理能力、更好的资源管理以及对...

    (AIX 5L Version 5.2)Technical Reference: Base Operating System and Extensions, Volume 1

    · AIX 5L Version 5.2 Technical Reference: Base Operating System and Extensions Volume 1 and AIX 5L Version 5.2 Technical Reference: Base Operating System and Extensions Volume 2 provide information ...

    java7帮助文档

    This release contains Java API for XML Processing (JAXP) 1.4.5, supports Java Architecture for XML Binding (JAXB) 2.2.3, and supports Java API for XML Web Services (JAX-WS) 2.2.4. ...

    (AIX 5L Version 5.2)Technical Reference: Kernel and Subsystems, Volume 1

    &lt;br&gt;· AIX 5L Version 5.2 Technical Reference: Base Operating System and Extensions Volume 1 and AIX 5L Version 5.2 Technical Reference: Base Operating System and Extensions Volume 2 provide ...

    Java邮件开发Fundamentals of the JavaMail API

    1.2.x, and J2SE version 1.3.x. Note: After installing Sun's JavaMail implementation, you can find many example programs in the demo directory. Installing JavaMail 1.2 To use the JavaMail 1.2 ...

    EASYCHARTS JAVA CHART COMPONENTS

    supports JDK 1.0.2, 1.1, and 1.2 barchart, piechart, and linechart integer and floating point number support positive and negative number support sample colors can be set chart features are ...

    (AIX 5L Version 5.2)Technical Reference: Kernel and Subsystems, Volume 2

    &lt;br&gt;· AIX 5L Version 5.2 Technical Reference: Base Operating System and Extensions Volume 1 and AIX 5L Version 5.2 Technical Reference: Base Operating System and Extensions Volume 2 provide ...

    Java - J2EE Job Interview Companion.pdf

    ### Java - J2EE Job Interview Companion: Key Knowledge Points on Log4j #### Introduction to Log4j Log4j is an open-source logging utility designed for Java applications. It provides a flexible and ...

    万能脱壳工具 病毒分析工具 V1.4

    dumpping memory, processesing the overlay, PE address conversion, supporting PEid plugins, computing MD5 and efficient use of third-party tools, and so on. It is also used for disposing the Trojan ...

    SourceNavigator_6.0

    Source-Navigator is a source code analysis tool....Source-Navigator supports C, C++, Java, Tcl, [incr Tcl], FORTRAN and COBOL, and provides and SDK so that you can write your own parsers.

    (AIX 5L Version 5.2)Technical Reference: Base Operating System and Extensions, Volume 2

    &lt;br&gt;· AIX 5L Version 5.2 Technical Reference: Base Operating System and Extensions Volume 1 and AIX 5L Version 5.2 Technical Reference: Base Operating System and Extensions Volume 2 provide ...

    JADE-all-4.1.zip_Agent_JADE4.1_Multi Agent System_jade java_jade

    JADE(JAVA Agent开发框架)是一个完全由JAVA语言开发的软件,它简化了多Agent系统的实现。-JADE (Java Agent DEvelopment Framework) is a ... The only system requirement is the Java Run Time version 1.4 or later

    Flask Web Development.pdf 最新 原版

    - **Scale Applications Using Packages and Modules:** Advanced developers can explore how to structure larger applications using packages and modules to ensure scalability and maintainability. ...

    QorIQ LS1021A Reference Manual Supports LS1020A and LS1022A

    1.2 Features summary 1.3 Application examples Chapter 2 Memory Map 2.1 Memory map overview Chapter 3 Signal Descriptions Chapter 4 Reset, Clocking, and Initialization Chapter 5 Interrupt Assignments ...

    USB Type-C Specification Release 1.3.pdf

    从以上描述中,我们可以了解到USB Type-C的USB Type-C Cable and Connector Specification Release 1.3文档所包含的核心知识点:USB Type-C接口的技术规范、USB Type-C的主要功能特点、USB Type-C在市场上的应用优势...

    Win32API(6.0) for Delphi

    Win32 API for Delphi 6.0, Copyright (c) 2021-2024 WINSOFT Delphi language projection for Microsoft Win32 Metadata.... Version 6.0 declarations generated from Windows.Win32.winmd version 62.0.23-preview

Global site tag (gtag.js) - Google Analytics