I want to develop a JSF web application.
I use JSF 2.3 (.xhtml), Tomcat 9.0.33 and Open JDK 11.0.2 (on Windows 10)
Apache Netbean 11.3 is my IDE. (this now s
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>fri</groupId>
<artifactId>jsfMavenEclipse</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish</groupId> <!-- Oracle -->
<artifactId>javax.faces</artifactId>
<version>2.3.9</version>
</dependency>
<dependency>
<groupId>org.jboss.weld.servlet</groupId> <!-- Red Hat -->
<artifactId>weld-servlet-shaded</artifactId>
<version>3.1.2.Final</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
Verify if the build classes have been copied to tomcat.
${tomcat_home}\wtpwebapps\${project_name}\WEB-INF\classes
or
${tomcat_home}\webapps\${project_name}\WEB-INF\classes
or
${tomcat_home}\(.metadata\.plugins...)\{project_name}\WEB-INF\classes