Having struts.jar in your classpath is actually a bad thing. Search the
archive for the thread entitled "Baffled No More" - it provides a good
technical explanation as to why this is. It could be that the presence of
struts.jar in your classpath is causing your problem. Try moving it to
/web-inf/lib.
The archive is at http:[EMAIL PROTECTED]
HTH
Dave


-----Original Message-----
From: Hampton, Paul [mailto:[EMAIL PROTECTED]]
Sent: 04 June 2001 16:43
To: '[EMAIL PROTECTED]'
Subject: RE: org.apache.struts.example.ApplicationMapping




> ActionServlet depends on ApplicationMapping.  It's one of the classes
> defined in struts.jar, check your struts.jar is in your classpath.
> 
struts.jar is in my classpath, this exception is thrown at runtime & there
is no org.apache.struts.example package in my struts.jar, hence my
assumption that this was an example mapping specified in a config file...

Paul

> -----Original Message-----
> From: Hampton, Paul [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 04, 2001 11:33 AM
> To: [EMAIL PROTECTED]
> Subject: org.apache.struts.example.ApplicationMapping
> 
> 
> Hi all - I have a problem with initalising the main struts controller
> servlet - doing so produces the exception given below. I'm confused as to
> why struts will be trying to access
> org.apache.struts.example.ApplicationMapping  - I do not have this mapping
> in my struts-config.xml file. Any ideas as to where the problem might lie?
> 
> Any help greatly appreciated,
> 
> Paul
> 
> java.lang.ClassNotFoundException:
> org.apache.struts.example.ApplicationMapping
>       at com.evermind.naming.j4.findClass(JAX)
>       at java.lang.ClassLoader.loadClass(Unknown Source)
>       at java.lang.ClassLoader.loadClass(Unknown Source)
>       at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>       at java.lang.Class.forName0(Native Method)
>       at java.lang.Class.forName(Unknown Source)
>       at
> org.apache.struts.digester.ObjectCreateRule.begin(ObjectCreateRule.java:15
> 2)
>       at
> org.apache.struts.digester.Digester.startElement(Digester.java:528)
>       at com.sun.xml.parser.Parser.maybeElement(Parser.java:1391)
>       at com.sun.xml.parser.Parser.content(Parser.java:1499)
>       at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
>       at com.sun.xml.parser.Parser.content(Parser.java:1499)
>       at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
>       at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
>       at com.sun.xml.parser.Parser.parse(Parser.java:284)
>       at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
>       at javax.xml.parsers.SAXParser.parse(SAXParser.java:77)
>       at org.apache.struts.digester.Digester.parse(Digester.java:755)
>       at
> org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1331
> )
>       at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
>       at javax.servlet.GenericServlet.init(GenericServlet.java:232)
>       at com.evermind.server.http.HttpApplication.w1(JAX)
>       at com.evermind.server.http.HttpApplication.wj(JAX)
>       at com.evermind.server.http.HttpApplication.wu(JAX)
>       at com.evermind.server.http.HttpApplication.v4(JAX)
>       at com.evermind.server.http.HttpApplication.<init>(JAX)
>       at com.evermind.server.Application.ur(JAX)
>       at com.evermind.server.http.el.ur(JAX)
>       at com.evermind.server.http.ek.nm(JAX)
>       at com.evermind.server.http.ef.s1(JAX)
>       at com.evermind.server.http.ef.do(JAX)
>       at com.evermind.util.f.run(JAX)
> 
> 
> This private and confidential e-mail has been sent to you by Egg.
> The Egg group of companies comprises Prudential Banking plc
> (registered no. 2999842), Egg Financial Products Ltd (registered
> no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
> carries out investment business on behalf of Egg and is regulated
> by the Personal Investment Authority.  All members of the Egg group
> are registered in England and Wales. Registered offices: 142
> Holborn Bars, London EC1N 2NH
> 
> If you are not the intended recipient of this e-mail and have
> received it in error, please notify the sender by replying with
> 'received in error' as the subject and then delete it from your
> mailbox.

************************************************************************
The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorised. If you are not
an intended recipient, you must not read, use or disseminate the
information contained in the email.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Capco.

http://www.capco.com
***********************************************************************

Reply via email to