How to publish a web project in Eclipse and publish a web project in eclipse

Source: Internet
Author: User

How to publish a web project in Eclipse and publish a web project in eclipse

Directory structure:

Contents structure [-]
  • Eclipse 4.4.0 Web Release Procedure
  • Note:
  • References
  • Download and configure JDK in the required environment

    For more information, see JDK installation and configuration.

    Download and configure Tomcat

    For more information, see Tomcat download and configuration.

    Download Eclipse

    For more information, see the Eclipse official website.

    Step 1 of Eclipse 4.4.0 Web Release: Create a server

    Click "File-new-server"

    Click "next" and introduce the corresponding tomcat and jre.

    2. Configure the server

    Open servers, right-click the server, and click "open". Follow the changes.

    Note:
    • To use a JSP file, copy The server-api.jar package to The lib directory of The project, otherwise The error "The superclass" javax. servlet. http. httpServlet "was not found on the Java Build Path", the server-api.jar package can be found in the lib directory under the server
    • Tomcat 8.0 and above have requirements for Eclipse. If "The Apache tomcat installation at this directoryis version 8.5.6.A Tomcat 8.0 installation is expected" appears during Tomcat import. you can download the latest version of eclipse or the old version of tomcat. I have tested that Tomcat 7.0.55 and eclipse4.4 can be used together.
    References

    Http://www.cnblogs.com/ywl925/p/3815173.html

     

    This article is an original blog article. If you need to reprint it, please indicate the source.

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.