Could not publish server appears when using Tomcat8.0 in eclipse ... Error

Source: Internet
Author: User

When using Tomcat8.0 in Eclipse, there was a

Could not publish server configuration for Tomcat v8.0 server at localhost.

Multiple contexts has a path of ""

Error.

There are two ways to solve the problem, as follows

If you are using the Eclipse Tomcat plugin, you will need to find the following files in your workspace:
${woskspace}/.metadata\.plugins\org.eclipse.wst.server.cor\e\tmp0\conf\server.xml file.
 
if Tomcat is a separate server, you will need to find the installation directory for Tomcat:
${tomcat_home}\apache-tomcat-6.0.37\conf\server.xml

But I haven't tried it since, maybe because it's the 8.0 version.


Here's my workaround:


When the Tomcat service is established, Eclipse automatically generates a servers project. In this project, locate the service folder for your deployment project. Under this folder there is a "server.xml" file, open this file, delete the corresponding project in the context node can be.

This article is from the "heterosexual phobia" blog, please be sure to keep this source http://twoxzi.blog.51cto.com/8613587/1626234

Could not publish server appears when using Tomcat8.0 in eclipse ... Error

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.