This exception actually means that com.ocpsoft.pretty.faces.config.reload.DefaultDevelopmentModeDetector cannot be cast to com.ocpsoft.pretty.faces.spi.DevelopmentModeDetector. This shouldn’t fail unless there are some classloading issues. This could for example happen if the interface has been loaded by a different classloader than the implementation.
Do you package your app as an WAR or EAR?
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.