I can't start my web application. on localhost it works. when I press start FAIL - Application at context path /WebApplication6 could not be started.
in tomcat server it says running false.
web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.1" xmlns="http://ift.tt/19L2NlC" xmlns:xsi="http://ift.tt/ra1lAU" xsi:schemaLocation="http://ift.tt/19L2NlC http://ift.tt/1drxgYl">
<servlet>
<servlet-name>Create</servlet-name>
<servlet-class>Create</servlet-class>
</servlet>
<servlet>
<servlet-name>LoginServlet</servlet-name>
<servlet-class>LoginServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>NewUserServlet</servlet-name>
<servlet-class>NewUserServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>SendMessages</servlet-name>
<servlet-class>SendMessages</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Create</servlet-name>
<url-pattern>/Create</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>LoginServlet</servlet-name>
<url-pattern>/LoginServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>NewUserServlet</servlet-name>
<url-pattern>/NewUserServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>SendMessages</servlet-name>
<url-pattern>/SendMessages</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
I don't know how to get the error from the server. Please help.
Aucun commentaire:
Enregistrer un commentaire