This content has been marked as final.
Show 4 replies
-
1. Re: Why I got java.lang.NoClassDefFoundError when using some
appendix Dec 18, 2007 5:53 AM (in response to seammer)Hi,
you've probably two versions of richfaces-ui*.jar in your ear package. Just put all richfaces.jars into the lib directory of your ear so they are visible to all the packages within the ear.
Regards, Kurt -
2. Re: Why I got java.lang.NoClassDefFoundError when using some
seammer Dec 18, 2007 7:16 AM (in response to seammer)Thanks for your reply!
Wish me luck, I will try it out at once, thanks again! -
3. Re: Why I got java.lang.NoClassDefFoundError when using some
seammer Dec 18, 2007 8:14 AM (in response to seammer)I found the problem was that I was using UITree in Stateful session bean.
When I changed it to Stateless,everything worked well. -
4. Re: Why I got java.lang.NoClassDefFoundError when using some
seammer Dec 18, 2007 8:26 AM (in response to seammer)"appendix" wrote:
Hi,
you've probably two versions of richfaces-ui*.jar in your ear package. Just put all richfaces.jars into the lib directory of your ear so they are visible to all the packages within the ear.
Regards, Kurt
Nice, your solution works. It has nothing to do with what kind of beans.
Yeah, I have replaced richfaces libs before, but without UITree or alikes everyghing works just fine.
How come I run into such problem?Is there any reason?I have cleaned my project many times before.
Thanks again.