I was working on my web application in eclipse with Tomcat v7.0, and everything was fine.
But today suddenly I can't run my poject on server anymore.
I do as usual:
Right click on my project->Run As->Run on Server and then choose to run it on my Tomcat server, but I get this error:
'Publishing to Tomcat v7.0 Server at localhost...'
has encountered a problem
Removing obsolete files from server...
Could not clean server of obsolete files: Premature end of file.
Premature end of file.
Does anyone know what should I do please?
web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
<display-name>LinkedIn</display-name>
<welcome-file-list>
<welcome-file>login.jsp</welcome-file>
</welcome-file-list>
</web-app>
I had similar problem, but java.lang.NullPointerException
instead.
For me the only thing that worked was to:
Hope that helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With