[Javaweb] does not provide a solution for compiling webapps under Tomcat in Eclipse for JavaEE.

Source: Internet
Author: User

[Javaweb] does not provide a solution for compiling webapps under Tomcat in Eclipse for JavaEE.

After successfully configuring the tomcat server from Eclipse for JavaEE downloaded from the official website, configure the WEB Project to Tomcat and enter http: // localhost: 8080/project name/index. jsp (8080 is the Tomcat port, index. jsp is the page to be accessed) can run successfully, you can manually open the Webapps under Tomcat in Windows resource manager to get the compiled project and upload it to the server, but no.

This is different from MyEclipse. Eclipse on the official website automatically throws your project to another place.

At this point, you should:

1. Under the Server tab in Eclipse, right-click the target Tomcat Server and Remove all projects by adding and Remove... or other methods.


2. Clean the Tomcat server

3. Double-click the Server, open the settings page, change Server Locations from the first Server to the second Server, and change Deploy path to webapps. Because the project is suspended on my Server, therefore, we recommend that you do not change the server as we did in the previous steps.


4. Mount the project to Tomcat to run, and you will be able to find your project in webapps.


Related Article

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.