• Register
0 votes
425 views

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 64 views
64 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 40 views
0 votes
1 answer 73 views
73 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 186 views
186 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 5 views
0 votes
1 answer 6 views
6 views
Solve this error.
asked Dec 19, 2020 TeamScript 9.2k points
0 votes
1 answer 24 views
24 views
explain with an example?
asked Nov 18, 2020 jagruthi 680 points
0 votes
1 answer 17 views
17 views
Problem: Recently I have developed one App. My app is working perfectly fine if I try to test it in real device using the USB in my android studio. But if I send my apk to some other device and install it there then it is not ... Method)     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:797)     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687)
asked Jul 31, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 97 views
97 views
Problem : My Java Servlet program showing the bellow Exception java.lang.classnotfoundexception oracle.jdbc.driver.oracledriver
asked Nov 5, 2019 peterlaw 6.9k points
0 votes
1 answer 17 views
17 views
why can Java 9 no longer find these classes?
asked Dec 24, 2020 TeamScript 9.2k points