`

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

分享到:
评论

相关推荐

    JBoss Application Server

    The J2EE platform manages the infrastructure and supports the Web services to enable development of secure, robust and interoperable business applications.” J2EE 1.3 Technologies Enterprise ...

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

    Professional Servlets and JSP The J2EE Web Tier

    Web applications using the new JavaServer Pages 2.0 and Servlets 2.4. Servlets and JavaServer Pages (JSP) provide a robust solution to developing large, complex Web applications, including multiserver...

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

    Programming.Google.App.Engine.with.Java

    This practical guide shows intermediate and advanced web and mobile app developers how to build highly scalable Java applications in the cloud with Google App Engine. The flagship of Google's Cloud ...

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

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

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

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

    HTML5 and JavaScript Web Apps

    This hands-on book shows you how to work with HTML5, JavaScript MVC frameworks, and the latest W3C specifications to build mobile and desktop web apps that are widely supported across all browsers and...

    JSTL1.2详细配置

    The most important difference is that JSTL 1.2.x supports Unified EL (Expression Language) , where as JSTL 1.1.x supports only traditional EL. With Unified EL it becomes very easy to combine the EL ...

    《Java Servlet编程(第二版)》英文版 chm (含源码)

    Servlets have become the basis for JavaServer Pages (JSP) and other frameworks, and servlet technology now supports such high-traffic sites as ESPN.com and AltaVista.com. Not surprisingly, the ...

    java反编工具java反编工具

    DJ Java Decompiler supports drag-and-drop functions for OLE. 4.In Windows Explorer Right mouse-button pop-up menu available too. NEW IN THIS VERSION: 1. Some bugs fixed. 2. New decompiler options ...

    Json.NET 6.0 R3 For.NET(2.0-4.5)

    LINQ to JSON is good for situations where you are only interested in getting values from JSON, you don't have a class to serialize or deserialize to, or the JSON is radically different from your class...

    EMS Excel Report v1.3

    ExcelReport supports Borland Delphi 5, 6, 7, and MS Office 97 SR-1, 2000, 2002 (XP).Main features:1. Creating report templates directly in MS Excel.2. Possibility of saving template as in the ...

Global site tag (gtag.js) - Google Analytics