0
Hello folks I’m trying to run a Javaweb project on Tomcat, but when I run it gives this error:
HTTP Status 404 - /Drugstore/faces/templates/modelSystem.xhtml type Status report
message /Drugstore/faces/templates/modelSystem.xhtml
Description The requested Resource is not available.
Apache Tomcat/7.0.82
In other projects run and run normal , only this one is in trouble, the server is set up straight, is checked, and synchronized.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.org/ui">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Drogaria</title>
</h:head>
<h:body>
<p:layout fullPage="true">
<p:layoutUnit position="north">
</p:layoutUnit>
<p:layoutUnit position="center">
</p:layoutUnit>
</p:layout>
</h:body>
</html>
Put the project structure please
– igventurelli
Post your faces.config and web.xml
– alxwca