I'm not sure that it matters, but does "lib" have to be lowercase, i.e. /WEB-INF/lib?
--- - Nayan Hajratwala - Chikli Consulting LLC - http://www.chikli.com -----Original Message----- From: Shkolnik, Mike [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 6:02 PM To: 'Struts Users Mailing List' Subject: RE: Running example app on Websphere 4.0 Initially, I just had it in one place - where it's suppose to be in /WEB-INF/LIB/. But that didn't seem to work. Thanks. -----Original Message----- From: Geeta Ramani [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 2:56 PM To: Struts Users Mailing List Subject: Re: Running example app on Websphere 4.0 Mike: I don't know anything about WebSphere, but thought you may like to know this: the time that I got a similar error "NoClassDefFoundError was in fact when I had placed a jar in one place too many... not to be confused with the "ClassNotFoundError". (I believe the error occurs when a class found in the compilation path is not the same as the one found at run time. ) Since you say below that you tried to put the struts.jar in lots of places, maybe this is the problem..? So try to remove the struts.jar from everywhere *except* one place, rebuild everything and then try again. Regards, Geeta "Shkolnik, Mike" wrote: > The link or file that you were trying to include is not there. > > Deploying example app directly to the WS 4.0 appserver does not seem to > work. > > When I try to deploy and run my own struts application (not the example) I > get following error: > > [2/25/03 10:52:01:630 PST] 37191c7f WebGroup X Servlet Error-[action]: > Failed to load servlet: java.lang.NoClassDefFoundError: > org/apache/struts/action/ActionServlet > at java.lang.Class.newInstance0(Native Method) > at java.lang.Class.newInstance(Class.java:254) > at java.beans.Beans.instantiate(Beans.java:213) > at java.beans.Beans.instantiate(Beans.java:57) > at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet > > I tried to put the struts.jar everywhere I could think of, but it still can > not find it. > > When I deploy example application, I'm not getting above error, however when > I try to invoke any action from a browser I get "File not found..." error. > > Thanks. > > -----Original Message----- > From: Hajratwala, Nayan (N.) [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 25, 2003 2:03 PM > To: 'Struts Users Mailing List' > Subject: RE: Running example app on Websphere 4.0 > > Assuming you're trying to get it up and running in WSAD 4.0 or 5.0, here is > a bug-report that contains instructions on getting the example running in > WSAD 5.0. I imagine it should be similar for 4.0 > > If you're simply trying to deploy it directly to the WS 4.0 appserver, you > should be able to deploy the WAR file just like any other WAR file. > > --- > - Nayan Hajratwala > - Chikli Consulting LLC > - http://www.chikli.com > > -----Original Message----- > From: Shkolnik, Mike [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 25, 2003 4:51 PM > To: '[EMAIL PROTECTED]' > Subject: Running example app on Websphere 4.0 > > Has anybody figured out how to run Struts example app on Websphere 4.0. I > can't make it work. Any help is greatly appreciated. > > Thank you. > > --------------------------------------------------------------------- > 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] > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- 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]