Re: java.lang.ClassCastException: cannot be cast to com.ocpsoft.pretty.faces.rewrite

Splash Forums PrettyFaces Users java.lang.ClassCastException: cannot be cast to com.ocpsoft.pretty.faces.rewrite Re: java.lang.ClassCastException: cannot be cast to com.ocpsoft.pretty.faces.rewrite

#20006

Yeah you can find out, but that really shouldn’t matter (at least for the exception you are getting… we can take a look though.) There’s always a chance, because using the wrong version of prettyfaces/jsf tends to cause strange issues ;)

Questions:

Which app-server/version are you using?

Where are your JSF Jars?

If you open the JSF jars, take a look inside the META-INF/manifest.mf, it should tell you which version you have.