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


    Problem:

    Import a Java web project in Eclipse, build with Maven, once create a Tomcat server instance, unable to add the Java web project, and showing

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

    Sulotion:

    In project, “.settings” folder, find this file “org.eclipse.wst.common.project.facet.core.xml“, change the version offacet="jst.web" to 2.4 or 2.5.

    File : org.eclipse.wst.common.project.facet.core.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <faceted-project>
      <fixed facet="jst.java"/>
      <fixed facet="jst.web"/>
      <installed facet="jst.web" version="2.4"/>
      <installed facet="jst.java" version="6.0"/>
    </faceted-project>
    Tomcat 7
    You need facet="jst.web" version="3.0" to deploy on Tomcat 7.

     




  • 相关阅读:
    HTML标签
    进程&线程&协程
    04 jQuery的属性操作
    03 jQuery动画效果
    02 jQuery的选择器
    01 jQuery的介绍
    软件测试入门-测试模型(V型 W型 H型)
    软件测试概述
    软件测试基础理论
    17 案例
  • 原文地址:https://www.cnblogs.com/totozlj/p/2736424.html
Copyright © 2020-2023  润新知