开发者

JSF FacesTagExtraInfo class not in JSF 1.2 v

I'm trying to move and old JSF v1.0 application from Sun One to Jboss 4.3 EAP that has jsf v 1.2 jars. I've been able to get the application to compile and deploy but when try to run it locally it gives me a ClassNotFoundException (and rightly so) for com.sun.faces.taglib.FacesTagExtraInfo

It doesn't exist in the jsf_impl.jar, as it did in the 1.0 versions, along with 2 other class files. I开发者_运维问答 can't stick the old v in the deploy folder for jboss (one it doesn't work that way and jboss complains about local configuration error, since it wants to use it's jars). I've done some searching but I can't seem to find a solution.


That class was removed in JSF 1.2 because it became superfluous with the new view handler. If you're getting this exception, then it means that you still have a jsf-api.jar of version 1.0/1.1 wandering somewhere in the classpath which got precedence over the version 1.2 one during classloading. But you do have a jsf-impl.jar of version 1.2 in the classpath (likely the appserver-provided one).

Cleanup your classpath to get rid of the old 1.0 JAR's and restart. The default paths covered by the webapp's runtime classpath are under each Webapp/WEB-INF/lib, JDK/lib and JDK/lib/ext.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜