myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Korherr <>
Subject Re: Need help getting started with GlassFish, MyFaces, and Trinidad
Date Mon, 18 Oct 2010 19:53:26 GMT
Hi Alan,

You need to have myfaces-api and myfaces-impl dependencies in your
project like this:


You don't need myfaces-impl-ee6, this one is just an internal helper
module which is already included in myfaces-impl.

The rest of the configuration (e.g. FacesServlet) is pretty much the
same as for Mojarra, though you need some extra configuration to run
MyFaces on GlassFish, see [1|.



2010/10/18 Alan <>:
> I have been using GlassFish 3 to host a JSF 2.0 so far with some success,
> but with no imported libraries. For some odd reason I can't seem to find
> documentation that can get me started with MyFaces.
> I added a Maven dependency as follows:
>        <dependency>
>            <groupId>org.apache.myfaces.core</groupId>
>            <artifactId>myfaces-impl-ee6</artifactId>
>            <version>2.0.2</version>
>            <type>jar</type>
>        </dependency>
> But I don't know what other steps to take, particularly with regard to
> web.xml or faces-config.xml.  The documentation I can find all seems
> appropriate for MyFaces 1.x -- are all the setups the same?
> Do I need to remove the dependencies on com.sun.faces?  What about the
> javax.faces.webapp.FacesServlet?   Do I still use that or is it optional?
> So far I can't get past the following error from
> GlassFish: NoClassDefFoundError:
> org/apache/myfaces/shared_impl/webapp/webxml/DelegatedFacesServlet
> Any pointers much appreciated.
> OO.

Jakob Korherr


View raw message