`

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

阅读更多

使用maven 3.0.4创建一个web 项目时,发现tomcat 6.0并不能部署该项目。

有两种方法可以解决该问题。

第一,将tomcat 6改为tomcat7

第二,修改Java EE 版本。

第二种方法相对简单,曾试图右键项目->Project Facets->将Dynamic web Module 后的3.0改为2.5,但无法修改!所以唯一的方法就是到项目文件夹下的.setting文件夹里有一个配置文件 为:org.eclipse.wst.common.project.facet.core.xml如下:

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

将facet=”jst.web” 后的wersion值改为2.5后,重启tomcat。

更多:http://www.javaxxz.com/thread-72251-1-1.html

分享到:
评论

相关推荐

    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等标准。这些规范提供了更强大的功能,例如异步处理能力、更好的资源管理以及对...

    eDP 1.3协议规范.pdf

    This standard defines requirements and options of a... It is based on the VESA DisplayPort Standard Version 1.3 and includes implementation options recommended for consideration by the system integrator.

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

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

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

    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

    (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 和 Kotlin Web 框架.zip

    A simple web framework for Java and KotlinView the documentation → Javalin is a very lightweight web framework for Kotlin and Java which supports WebSockets, HTTP2 and async requests. Javalin’s main...

    万能脱壳工具 病毒分析工具 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 ...

    LT8618SX_EX Datasheet R1.3.pdf

     Compliant with HDMI1.4 and HDCP1.4  Resolution Up to 4K 30Hz  Programmable output swing and pre-emphasis  Fully hardware-controlled or optional software- controlled HDCP operations  ...

Global site tag (gtag.js) - Google Analytics