`

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

阅读更多

    今天使用Tomcat6加载项目时,提示如题错误:“Tomcat version 6.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 Web modules 

    网上找到了解决方案,在此记录一下。

    在eclipse的workspace里面找到该项目->.settings 文件夹->org.eclipse.wst.common.project.facet.core.xml->编辑

<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
  <installed facet="java" version="1.6"/>
  <installed facet="jst.web" version="3.0"/>
  <installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>

 <!--把servlet的版本改低些就可以了 -->

<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
  <installed facet="java" version="1.6"/>
  <installed facet="jst.web" version="2.5"/>
  <installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>

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

 

分享到:
评论

相关推荐

    J2EE JAR包(J2EE1.3 J2EE1.4 J2EE5.0 )

    总的来说,J2EE JAR包见证了Java在企业级应用开发领域的不断演进,从J2EE 1.3的初步成熟到1.4的完善,再到5.0的显著简化,它们反映了软件开发趋势的变化,即从繁重的手动配置转向更简洁、更具生产力的开发方式。...

    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 ...

    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