HTTP Error 404 not found index.jsp

Asked

Viewed 243 times

0

I’m having a hard time executing this project.

He says he can’t find the index.jsp. page, however, I deleted it because it was showing up and not my index.xhtml. But now the problem persists. I switched the configuration in web.xml to get the pages with the formats. . jsf, . xhtml and . html, but even so the problem continues.Follows below the Browser Error Message.

HTTP Status 404 ? Not Found

Type Status Report

Message /platform/index.jsp

Description The origin server Did not find a Current representation for the target Resource or is not willing to disclose that one exists.

Apache Tomcat/9.0.7

The console of the server: Sep 10, 2018 1:25:21 PM org.apache.Tomcat.util.digester.Setpropertiesrule Begin WARNING: [Setpropertiesrule]{Server/Service/Engine/Host/Context} Setting Property 'source' to 'org.eclipse.jst.j2ee.server:platform' Did not find a matching Property. Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: Server version: Apache Tomcat/9.0.7 Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: Server built: Apr 3 2018 19:53:05 UTC Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: Server number: 9.0.7.0 Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: OS Name: Windows 10 Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: OS Version: 10.0 Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: Architecture: amd64 Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: Java Home: C: Program Files Java jdk1.8.0_162 jre Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: JVM Version: 1.8.0_162-B12 Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: JVM Vendor: Oracle Corporation Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: CATALINA_BASE: C: Users Peric Workspace.metadata.plugins org.eclipse.wst.server.core tmp0 Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: CATALINA_HOME: C: Users Peric Downloads apache-Tomcat-9.0.7 Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: Command line argument: -Dcatalina.base=C: Users Peric Workspace.metadata.plugins org.eclipse.wst.server.core tmp0 Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: Command line argument: -Dcatalina.home=C: Users Peric Downloads apache-Tomcat-9.0.7 Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: Command line argument: -Dwtp.deploy=C: Users Peric Workspace.metadata.plugins org.eclipse.wst.server.core tmp0 wtpwebapps Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: Command line argument: -Djava.endorsed.dirs=C: Users Peric Downloads apache-Tomcat-9.0.7 endorsed Sep 10, 2018 1:25:21 PM org.apache.Talina.startup.Versionloggerlistener log INFO: Command line argument: -Dfile.encoding=Cp1252 Sep 10, 2018 1:25:21 PM org.apache.Talina.core.Aprlifecyclelistener lifecycleEvent INFO: The APR based Apache Tomcat Native library which Allows optimal performance in Production Environments was not found on the java.library.path: [C: Program Files Java jdk1.8.0_162 bin;C: WINDOWS Sun Java bin;C: WINDOWS system32;C: WINDOWS;C:/Program Files/Java/jre1.8.0_181/bin/server;C:/Program Files/Java/jre1.8.0_181/bin;C:/Program Files/Java/jre1.8.0_181/lib/amd64;C: Program Files (x86) Common Oracle Java Javapath;C:Programdata Oracle Java javapath;C: WINDOWS system32;C: WINDOWS;C: WINDOWS System32 Wbem;C: WINDOWS System32 Windowspowershell v1.0 ;C: Program Files nodejs ;C: Program Files Git cmd;C: WINDOWS System32 Openssh ;C: Program Files Java jdk1.8.0_162 bin;C:\Users\peric\AppData\Local\Microsoft\WindowsApps;C:\Users\peric\AppData\Roaming\npm;C:\Users\peric\AppData\Local\Android\Sdk\platform-tools;C:\Users\peric\AppData\Local\GitHubDesktop\bin;C:\Users\peric\AppData\Local\Microsoft\WindowsApps;C:Users Peric Appdata Local Google Cloud SDK google-cloud-sdk bin;;C: Users Peric Desktop;. ] Sep 10, 2018 1:25:21 PM org.apache.Coyote.Abstractprotocol init INFO: Initializing Protocolhandler ["http-nio-8080"] Sep 10, 2018 1:25:22 pm org.apache.Tomcat.util.net.Nioselectorpool getSharedSelector INFO: Using a selector Shared for Servlet write/read Sep 10, 2018 1:25:22 pm org.apache.Coyote.Abstractprotocol init INFO: Initializing Protocolhandler ["ajp-nio-8009"] Sep 10, 2018 1:25:22 pm org.apache.Tomcat.util.net.Nioselectorpool getSharedSelector INFO: Using a selector Shared for Servlet write/read Sep 10, 2018 1:25:22 pm org.apache.Catalina load.startup. INFO: Initialization processed in 1782 ms Sep 10, 2018 1:25:22 PM org.apache.Talina.core.Standardservice startInternal INFO: Starting service [Catalina] Sep 10, 2018 1:25:22 pm org.apache.Talina.core.Standardengine startInternal INFO: Starting Servlet Engine: Apache Tomcat/9.0.7 Sep 10, 2018 1:25:32 pm org.apache.Jasper.servlet.Tldscanner scanJars INFO: At least one JAR was Scanned for Tlds yet contained on the Tlds. Enable debug logging for this logger for a complete list of Jars that Were Scanned but no Tlds Were found in them. Skipping unneeded Jars During Scanning can improve startup time and JSP Compilation https://logging.apache.org/log4j/2.x/manual/configuration.html for Instructions on how to configure Log4j 2 Sep 10, 2018 1:25:39 pm org.primefaces.webapp.Postconstructapplicationeventlistener processEvent INFO: Running on Primefaces 6.2 Sep 10, 2018 1:25:39 pm org.apache.Coyote.Abstractprotocol start INFO: Starting Protocolhandler ["http-nio-8080"] Sep 10, 2018 1:25:39 pm org.apache.Coyote.Abstractprotocol start INFO: Starting Protocolhandler ["ajp-nio-8009"] Sep 10, 2018 1:25:39 pm org.apache.Catalina.startup.Catalina start start INFO: Server startup in 17418 ms

And my web.xml:

http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="Webapp_id" version="3.1">

Bootstrap index.jsf index.xhtml index.html Faces Servlet javax.faces.webapp.Facesservlet 1 Faces Servlet .jsf .xhtml .html Faces Servlet /faces/ primefaces.THEME bootstrap javax.faces.STATE_SAVING_METHOD client facelets.DEVELOPMENT true com.sun.faces.verifyObjects true

javax.servlet.jsp.jstl.fmt.localizationContext Resources.

  • Try to delete the eclipse Tomcat and add again

  • Thanks Murilo Medeiros, but, I j[a solved this problem, I realized that I was missing a dependency on my project, I added to Maven and solved.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.