Splash › Forums › PrettyFaces Users › ClassNotFoundException when I put PrettyFaces jar into my classpath › Re: ClassNotFoundException when I put PrettyFaces jar into my classpath
Hmm.. odd. I’ve seen something like this before. Try the latest PrettyFaces 3.0.2-SNAPSHOT. It may have an update that resolves this problem. Sorry for the inconvenience.
@chkal — are we doing any strange classloader stuff in the new annotation scanning, that might break classloading in the appserver itself?
I read recently that you should avoid ClassLoader.loadClass() and should instead use Class.forName(..., classLoader). Thoughts?
If you find our tools useful, please consider making a donation to help us stay online and building software!