Error when running web application

1

I installed Tomcat on a server and am trying to access my application but it always gives this error:

The requested resource (/ProjetoAuditoria) is not available.

When I Starto on my machine other computers on the network can access, but when I put it on the server does not work. Can anyone tell me what the problem is?

web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://xmlns.jcp.org/xml/ns/javaee"
    xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
    id="WebApp_ID" version="3.1">


    <display-name>Sistema Auditoria</display-name>
    <welcome-file-list>
        <welcome-file>pages/autenticacao.xhtml</welcome-file>
    </welcome-file-list>

    <!-- Configuração do Servlet -->
    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.xhtml</url-pattern>
    </servlet-mapping>

    <context-param>
        <param-name>primefaces.THEME</param-name>
        <param-value>hot-sneaks </param-value>
    </context-param>
    <filter>
        <filter-name>PrimeFaces FileUpload Filter</filter-name>

        <filter-class>org.primefaces.webapp.filter.FileUploadFilter</filter-class>
    </filter>

    <filter-mapping>
        <filter-name>PrimeFaces FileUpload Filter</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>


    <!-- Carregamento do contexto do hibernate -->
    <listener>
        <listener-class>br.com.auditoria.util.ContextListener</listener-class>
    </listener>

</web-app>

When I enter tomcat manager it appears, I click Start and nothing happens.

    
asked by anonymous 22.06.2015 / 21:48

1 answer

2

Check the version installed on your server, according to the error you presented the installed version is less than J2SE 8 = 52

  

Unsupported major.minor version 52.0 (unable to load class   br.com.auditoria.util.ContextListener)

Below the list containing the number and versions of Java

J2SE 8 = 52, J2SE 7 = 51, J2SE 6.0 = 50, J2SE 5.0 = 49, JDK 1.4 = 48, JDK 1.3 = 47,  JDK 1.2 = 46, JDK 1.1 = 45
    
22.06.2015 / 22:31