Eclipse - Failed to publish server configuration for Tomcat8.0 server on localhost

I created some sample web services and tried to publish to my local host Tomcat v8.0. I am using the Eclipse Java EE IDE for web developers with Mars version 4.5.0. I configured the Tomcat v8.0 server. I got the configured server in the Eclipe server list. I started the server. But Eclipse suggests that

 Publishing to tomcat v8.0 Server at localhost..." has encountered a problem.

And the error information shows that in a multiple context there is a way for /HelloWorldServletand /com.vogeila.jersy.first. These are the servlet projects that I created in my workspace.

You can link to this screenshot: enter image description here

I followed this answer.

Server Tomcat v7.0 on localhost did not start "without stack trace when it is running in terminal

But that did not work for my case. Share your ideas.

+4
source share
1 answer

The requested message helped me. File Server.xmlin Servershas several tag entries <Context>. I deleted everything, leaving only one entry. It worked for me.

+11
source

Source: https://habr.com/ru/post/1623658/


All Articles