Maybe I am still not understanding, but where do I place what files? In all my other struts projects, I never had to this listeners.ContextListener error, but now all the sudden it occurs?!
Is there a jar file I need or should I copy the ContextListener.class provided in the Tomcat 5 servlet-examples in a particular folder of my project? Thanks, Struts newbie, Harry -----Original Message----- From: sven morales [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 6:16 PM To: Tomcat Users List Subject: Re: Java.lang.ClassNotFoundException: listeners.ContextListener Hi, Do you have this class located in your appname/WEB-INF/classes/listeners/ ? If not, do you have it located in the appname/WEB-INF/lib/*.jar ? Basically I think it is looking for your listener.ContextListener class. I would expand your war file and search for this class, then make sure it is put located in the right directory. This is the only web applications not launching right and the rest is working okay? So limit your search right around your war file. aka_sergio --- "Harry Douglass, Jr." <[EMAIL PROTECTED]> wrote: > Need some addition help! > > Unfortunately, I am still getting this error even > with adding this tag to my > web.xml file: > > <listener> > > <listener-class>listeners.ContextListener</listener-class> > </listener> > > I verified that I am using the correct DTD schema: > <!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web > Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > But, I am still getting this application error right > when it is deploying my > project on the server container: > > INFO: Deploying web application archive myLogin.war > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.ApplicationContext log > SEVERE: Error configuring application listener of > class > listeners.ContextListener > java.lang.ClassNotFoundException: > listeners.ContextListener > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.StandardContext > listenerStart > SEVERE: Skipped installing application listeners due > to previous error(s) > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.StandardContext start > SEVERE: Error listenerStart > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.StandardContext start > SEVERE: Context startup failed due to previous > errors > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.ApplicationContext log > > Any more suggestions? > > Thanks, > Harry > > Hi There, > > The web.xml will have the following xml tag tag in > it > > <listener> > <listener-class>classpath</listener-class> > </listener> > > It sounds like the class file referenced by this tag > does not exist or that > the class path is wrong. > > Thanks > > Pete > > -----Original Message----- > From: Harry Douglass, Jr. > [mailto:[EMAIL PROTECTED] > Sent: 05 February 2005 22:57 > To: [email protected] > Subject: Java.lang.ClassNotFoundException: > listeners.ContextListener > > > Hello, > > > > When my Tomcat 5 server is started, it gets a SEVERE > error in the output > which states: > > > > SEVERE: Error configuring application listener of > class > listeners.ContextListener > > Java.lang.ClassNotFoundException: > listeners.ContextListener > > > > SEVERE: Error configuring application listener of > class > listerners.SessionListener > > Java.lang.ClassNotFoundException: > listeners.SessionListener > > > > SEVERE: Skipped installing application listeners due > to previous error(s). > > > > > > Can anyone help with why this is occurring everytime > I start the Tomcat 5 > server. > > > > Thanks in advance, > > > > Harry > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
