I cannot seem to get an simple app up and running using MyEclipse 3.8.4 and the MyFaces 1.0.8 jars.  Perhaps someone here can point out my error.

Here's what I did:

1. Using MyEclipse, I altered the jars to include in the project as specified on the MyFaces website to:

 myfaces.jar, myfaces-jsf-api.jar, jstl.jar, jakarta-oro.jar, commons-codec-1.2.jar, commons-el.jar, commons-fileupload-1.0.jar, commons-logging.jar and commons-validator.jar

2. Created a new project, added MyFaces jars

3. I then copied the index.jsp, home.jsp (cut down to hello world), and web.xml from 1.0.8 myfaces-examples

4. Changed web.xml to include

    <context-param>
        <param-name>javax.faces.CONFIG_FILES</param-name>
        <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>

4. I deploy the app (no errors) and start up Tomcat 5.0.28 and get this error,

SEVERE: Error listenerStart

Here is the listener in my web.xml copied from myfaces-examples:

    <listener>
        <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>

Any ideas?

Thanks for any help,,

John

Heath Borders <[EMAIL PROTECTED]> wrote on 16/02/2005 12:12:22 PM:

> This would probably be something worth doing.  It would probably help
> new people out a lot.
>
> For the near-term though, if you can use myfaces-examples.war as a
> starting point.
>
>
> On Wed, 16 Feb 2005 11:55:42 -0500, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> >
> > I have no idea whether anyone is getting these emails or not, but here goes
> > one more time:
> >
> > Does anyone have a working 1.0.8 MyFaces-blank application similar to the
> > struts-blank?  I am having no success with getting a simple app up and
> > running on Tomcat 5.0.28, and I think most of my problems are with the
> > web.xml.
> >
> > If not and anyone cares, I can provide my very simple app and errors
> > aplenty.
> >
> > Also, what's with the mailing list archives?
> >
> > Thanks
>
>
> --
> -Heath Borders-Wing
> [EMAIL PROTECTED]

Reply via email to