In jboss ClassNotFoundException: No ClassLoaders found for: org.richfaces.function.RichFunction
Ashraf Abu-Aisheh
Ranch Hand
Joined: Apr 17, 2009
Posts: 88
posted
0
I started jboss 4.3.0.GA_CP03 and run it successfully but when I tried to login I got the following errors:
1) java.lang.ClassNotFoundException: No ClassLoaders found for: org.richfaces.function.RichFunction
But I have include these library to my WEB-INF/lib/
commons-collections-3.2.1.jar
commons-digester-1.8.jar
commons-logging-1.1.1.jar
laguna-3.2.2.GA.jar
richfaces-api-3.2.2.SR1.jar
richfaces-impl-3.2.2.SR1.jar
richfaces-ui-3.2.2.SR1.jar
2) java.lang.ClassNotFoundException: No ClassLoaders found for: com.zzzz.pppp.web.util.ELUtility
But the class is exists in the same path in my war file as WEB-INF/classes/com.zzzz.pppp.web.util.ELUtility
I have used tld functions in this class.
Note that the same war file is working properly in Tomcat, but in JBoss still not working
Please post the entire exception stacktrace. Also you seem to be using the EAP edition of JBoss which has a support contract. You can get quicker support for your issues from the EAP support portal.
Did you include the richfaces JAR file in your app? It doesn't come with JBoss AS (well, admin-console uses it, but it packages the richfaces JAR within itself).
Peter Johnson wrote:Did you include the richfaces JAR file in your app? It doesn't come with JBoss AS (well, admin-console uses it, but it packages the richfaces JAR within itself).
I have already included these library to my WEB-INF/lib/
Does one of the files you listed contain this class?
I always prefer solving the first error first (and ignoring all other errors) because often once the first error is solved many of the others errors go away also. So looking at any error other than the first is usually a waste of time.
Ashraf Abu-Aisheh
Ranch Hand
Joined: Apr 17, 2009
Posts: 88
posted
0
Peter Johnson wrote:I don't use RichFaces. I was posting in response to the first error:
Does one of the files you listed contain this class?
I always prefer solving the first error first (and ignoring all other errors) because often once the first error is solved many of the others errors go away also. So looking at any error other than the first is usually a waste of time.
I fixed it by copying the following libraries to the jboss-as\server\default\lib directory
richfaces-api-3.2.2.SR1.jar
richfaces-impl-3.2.2.SR1.jar
richfaces-ui-3.2.2.SR1.jar
Thank you Mr.Peter Johnson to reply to my post, your replying is a dignity to me