Removing obsolete files from server... Could not clean server of obsolete files: Content is not allowed in prolog

Meghan Bidwaik picture Meghan Bidwaik · Mar 24, 2016 · Viewed 13.4k times · Source

Publishing Error in Tomcat Servr

I am creating a project which is in jsp,servlet and tomcat v 8.0.upto last night it works fine but today it didn't work it gives error in publishing tomcat server,please give me any suggestions. I used Eclipse Mars and Tomcat v8.0 Actually I try to clean Tomcat Work Directory and also clean project("build/clean"), but still i get this error what should I do??

Answer

pyropunk51 picture pyropunk51 · Jun 13, 2017

One or more of the temporary xml files have become corrupt.

  • Close eclipse.
  • In your workspace go to .metadata/.plugins/org.eclipse.wst.server.core
  • Delete the tmp[#] folder. (where [#] is some number). Mine was called tmp0
  • Start eclipse