Entering the classpath org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported or published. Runtime ClassNotFoundExceptions may result in

I created a web project inspired by jsf-blank.zip from JSF 2 with Facelets, Ajax and PrimeFaces . After several days of progress (and solving numerous problems, thanks to the SO community, mostly) with my site, I am stuck at:

HTTP 404 - The requested resource is not available in the internal browser of Eclipse and FF.

The Eclipse console shows:

java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet 

      

This is true and I have had it before (one of the many problems mentioned above), but I cannot convince him to leave this time.


EDIT:

mostar's answer did the trick. BUT , this setting is removed with every new Maven -> Update Project ...


In addition, there are the following warnings and errors that I could not get rid of (constantly) no matter how many SO and other web pages I consulted:

  • 265px-TAR_Exclamation_icon.svg.pngClass entry org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported or published. Runtime ClassNotFoundExceptions may occur.

    I found how to get rid of this (see above), but with every Maven -> Refresh Project ... there again.

  • 265px-TAR_Exclamation_icon.svg.pngThe implementation of the jboss.m2 project facets was not found. The functionality will be limited.

  • Icon_Simple_Error.png Unable to change the version of the Torch of the Dynamic Web Module project to 3.0.

  • Icon_Simple_Error.pngOne or more restrictions have not been met. [Which one of? The one above?]

Who is to blame for all this?

+3


source to share





All Articles