lundi 2 avril 2018

Wildfly .xhtml page not loaded?

I started my WildFly 8.2 Server without errors. http://localhost:8080 shows that wildfly is running, but jobs.xhtml is not loaded.

web.xml is the following:

<?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>RecruitmentApp</display-name>
    <welcome-file-list>
      <welcome-file>index.html</welcome-file>

    </welcome-file-list>
  <servlet>
     <servlet-name>facesServlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>facesServlet</servlet-name>
    <url-pattern>*.xhtml</url-pattern>
    <url-pattern>/faces/*</url-pattern>

  </servlet-mapping>
</web-app>

jobs.xhtml is located int WebContent and successfully works on other computers.

I checked all the similar questions but did not find a solution.

Thank you.




Aucun commentaire:

Enregistrer un commentaire