• Register
0 votes

Problem :

I am facing bellow JSF error 
java.lang.classnotfoundexception javax.faces.webapp.facesservlet
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

Please follow bellow instructions to resolve your problem:
a. Right click on your project->properties->project facets->java server faces.

b. Then if the disabled library configuration option has selected, then change it to user library.

 c. Add mojarra's latest version 

d. Press OK button and try run the project again

It should help.

Further Readings:

9 7 4
38,600 points

Related questions

1 vote
1 answer 114 views
Problem : I have decided to learn JSF. I have started writing some code in JSF. If I try to run the application after entering the required URL then I start facing below exception. I am currently using Eclipse and the Tomcat7.0.35. I already added the Jstl.jar and jstl1 ... on above exception but I am not able to fix my error. I am looking for expert who can fix above JSF related exception for me.
asked May 15, 2020 Martin K 6.6k points
0 votes
1 answer 54 views
0 votes
1 answer 5 views
Problem: I have created a Dynamic web project, but I am not able to deploy it into Apache Tomcat Server 6.0. I am getting this error when I try to deploy my project: There are No resources that can be added or removed from the server.
asked Mar 20 ummesalma 21.9k points
0 votes
1 answer 1 view
1 view
Problem: I can't get it to work. i get the following: Unable to find matching navigation case with from-view-id '/login.xhtml' for action '#{adminSomeone please help.
asked 4 days ago Sana8989 7.7k points
0 votes
1 answer 34 views
Problem the entity name must immediately follow the '&' in the entity reference.
asked Feb 9 charles mathews 5.5k points
0 votes
1 answer 119 views
Problem : I want to insert Javascript to the <h:commandButton />'s onclick property as the action is already rendering the ajax table. What I want to do is to get a selected items in the list box and turn them into the parameters to be used in the JSF FileServlet. i.e. para2=value1&param= ... ) or even the for (var i = 0; i < 10; i++) my page wouldn't load. How can I fix my for loop issue?
asked Jan 20, 2020 jwilliam 3.9k points
0 votes
1 answer 279 views
Problem : I want to run the Eclipse JSF project on the Apache Tomcat on some other computer. I created the WAR file. But, when I try to deploy the WAR and open my Facelet page in Firefox, I usually face only the below error message: &ldquo;This XML file does not appear ... first time when I am trying to run the JSF app without my Eclipse. How is this issue popping up and how can I fix the issue?
asked Jan 3, 2020 alecxe 7.5k points
0 votes
1 answer 4 views
Problem Why I can not solve this problem? Help me.
asked 3 days ago salim1 30.7k points
0 votes
1 answer 7 views
Problem: Any ideas on what I need to fix the error: could not find or load main class main caused by: java.lang.classnotfoundexception: main?
asked Mar 27 ashik 10.6k points
0 votes
1 answer 2 views
Problem: Can someone help me to solve it? Java lang classnotfoundexception org apache commons logging logfactory
asked Mar 19 Ifra 24.4k points