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

前端 未结 9 1342
温柔的废话
温柔的废话 2021-02-05 19:14

I am getting this error, when executing JSF and PrimeFaces.

I have included these jars,

  • jsf-api-2.0.3.jar,
  • jsf-impl-2.0.3.jar ,
  • jstl-1.0.
9条回答
  •  执念已碎
    2021-02-05 19:29

    You can also do this, which solved my problem.
    Right click on your project->properties->project facets->java server faces.

    Then if the disabled library configuration option has selected, then change it to user library and then add mojarra's latest version and press OK button and try run the project again...

    It should help.

提交回复
热议问题