Odd, I think you have a classloading problem. Is the TaskFormLibarary in the war classes?
Check you don't have more than one copy of facelets.jar hanging around.
Why not just use xml to set up your components?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044709#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...