Tomcat in Eclipse cannot publish Web projects by using Add and remove

Source: Internet
Author: User

This time, after the last launch of the Tomcat ClassNotFound in Eclipse, a new problem has been encountered. Right-click Tomcat to use Add and remove to publish the Web project to Tomcat, start the Tomcat container error, and so on. Then check the publish directory and discover that the published Web project D:\WorkSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps not found in the default publishing directory. That is, publishing failed.

Started thinking it was Tomcat, and then deleted Tomcat re-add, then publish Web project discovery is not yet. Click Open Tomcat to view the published Web project, and find the published Web project a little strange. In the past, you can also click Open Web Project to view other projects that depend on the Web project, but now find that this Web project has no subdirectories, that is, it does not see the artifacts it relies on. Suspicion is dependent on the problem, suddenly think of this morning because of the project of the error, so the project was deleted, and then re-introduced from SVN, so into the deployment assembly the original project to rely on and re-add again. After apply, it is found that the published project is OK.

Tomcat in Eclipse cannot publish Web projects by using Add and remove

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.