That might solve the immediate error, but I think it will cause others. If you are deploying to GlassFish, you are going to use Mojarra, as GlassFish bundles that. Given that, you can remove the listener declaration, as it is not needed, and, unless you're using MyFaces-specific classes (which is a bad idea, usually, IME) you shouldn't need the MyFaces jars at all.
[Message sent by forum member 'jdlee' (jdlee)]
http://forums.java.net/jive/thread.jspa?messageID=295393