I've begun my research into RichFaces, and decided to actually read their developer guide instead of just winging it. Sometimes I do crazy things, I know. Anyway, one of their initial suggestions was to get a plain JSF application in place and working, and I thought this was a decent starting point - that way, any anomalies could be more easily traced as I added RichFaces stuff.
So I put a plain vanilla Facelets-JSF app together (i.e., one that doesn't use a third-party component set, like IceFaces or RichFaces) , and got it working just fine on JBoss 4.2.2 (here I'm using Facelets 1.1.14). However, with my migration to JBoss 5.1, this rather dumb prototype stopped working, with this exception on initial deployment of the webapp:
SEVERE [compiler] Missing Built-in Tag Libraries! Make sure they are included within the META-INF directory of Facelets' Jar
15:35:25,318 SEVERE [viewhandler] Error Rendering View[/index.xhtml]
java.lang.NullPointerException
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524)
.............
On subsequent page loads, the "Missing Built-in Tag Libraries" message stopped appearing, but the NPE on NamespaceHandler continued to happen. Googling on the NPE was not entirely fruitful, but searching against the tag libraries problem led me to various known solutions; I addressed it by using the 1.1.15 version of Facelets.
Like you I have been googling about this issue until I reached here. Thank you, I didn't have to search much and got the solution. It Worked!
ReplyDeleteGlad to help.
ReplyDeleteI got same problem, I googled it and found the solution same as you. I will try the solution next monday.
ReplyDeleteThank you! It Works for me too.
ReplyDeletemuchisimas gracias por ayudarme con el problema .......eternamente agradecida :) gracias compaƱeros
ReplyDeleteSaved me a lot of time. Thanks.
ReplyDeleteI googled it and found ur site.It worked for me.Thanks a lot.
ReplyDeleteSorry for my delayed response to everyone; this is great that this tip has been useful. Glad to help!
ReplyDeleteThanks for your help.
ReplyDeleteIt works !! Great help!
ReplyDeleteThanks for great help.
ReplyDeleteThank you for this. It works:)
ReplyDeleteReally thanks! :)
ReplyDeleteDieureudieuf (thanks)
ReplyDeleteThe links are down. Is there anybody who could share the silution here ( if u remember ). Thanks
ReplyDeleteHere's an alternate download site:
ReplyDeletehttp://repository.jboss.org/maven2/com/sun/facelets/jsf-facelets/1.1.15/
As the posting says, the solution is to use the 1.1.15 version of that jar.
Thanks you very much, it take's me a lot of time.
ReplyDeleteGlad to help!
ReplyDeleteThanks it worked.
ReplyDelete