Search code examples
javaeclipsetomcat6

Facing "error publishing to Tomcat v6.0 server at localhost has encountered a failure"


I am facing a problem when i try to run eclipse in debug mode. I have added the app jar to tomcat 6.0 in eclipse and when i try to debug or start the tomcat server it throwing this error over and over again. I have tried to run eclipse in admin mode but even that does not help. PFB the error details!

Publishing the configuration... Error copying file to C:/Software/Softwares/apache-tomcat-6.0.41/backup\server.out.xml: C:\Software\Softwares\apache-tomcat-6.0.41\conf\server.out.xml (The system cannot find the file specified) C:\Software\Softwares\apache-tomcat-6.0.41\conf\server.out.xml (The system cannot find the file specified)


Solution

  • What worked for me was to remove the tomcat server v6.0 from eclipse and add again.