Maven Embedded Tomcat 6/7: "No mappings of FacesServlet found. Abort initializing MyFaces."
===

I am trying to run a JSF 2.0 webapp using Apache MyFaces 2.1.7 on an embedded Tomcat 6 and 7 with the maven tomcat6:run and tomcat7:run commands.

I managed to get the maven plugin working basically but upon initialization of my webapp I always get the warning "No mappings of FacesServlet found. Abort initializing MyFaces."

I tried to debug into the code and reached the place where the error is produced. It is in `org.apache.myfaces.webapp.AbstractFacesInitializer#initFaces(ServletContext servletContext):135`. But that gives me nothing.

The problem is since initialization is aborted I get an `IllegalStateException` afterwards.

The funny thing is that the webapp runs perfectly using embedded jetty 8. So it must be some dependency issue.

Hope someone with more insight into all of this can help me here.