Ubuntu16 in Eclipse startup Tomcat browser cannot access the home page

Source: Internet
Author: User

The problem is that local launch of Tomcat browser access is fine, but in eclipse it starts with a 404 error in local browser access, but can directly access projects deployed under Tomcat.

The most effective solution on the web is to remove the project from Tomcat first, double-click Tomcat, and select the following in the server locations:

This is a very effective solution, and I did so before.

But in Ubuntu16, I put Tomcat in the/usr directory, which is not going to work out anyway.
Solution: Double Tomcat, this time in the home directory, after trying to find that everything is OK.

I don't know if there is a permission limit under the/usr directory, anyway, I tried to assign 777 permissions to the WebApps folder and internal files, and I couldn't solve the access problem.

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.