Make sure your pom.xml
contains the dependency for the JSF API. , in error it shows that it can not find the class of this API.
For every Java EE specification you are using you also need an implementation.
With an example in your Facets screen choices
Choose one of the implementations and add them in the dependencies in your pom.xml, followed by the API of your specification.
There are two sites you can use to get dependencies for maven.
http://mvnrepository.com/
https://search.maven.org/
Examples:
<dependencies>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>org.richfaces.core</groupId>
<artifactId>richfaces-core-impl</artifactId>
<version>4.3.7.Final</version>
</dependency>
</dependencies>