我正在使用Tomcat v7.0在eclipse中处理我的Web应用程序,一切都很好.
但是今天我突然无法在服务器上运行我的项目了.
我像往常一样:
右键单击我的项目 - >运行As-> Run on Server然后选择在我的Tomcat服务器上运行它,但是我收到此错误:
'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.
Run Code Online (Sandbox Code Playgroud)
有谁知道我该怎么办?
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>
Run Code Online (Sandbox Code Playgroud)