http://jakarta.apache.org/struts/userGuide/installation.html#Installing

-----Original Message-----
From: Matt Griffin [mailto:[EMAIL PROTECTED] 
Sent: March 20, 2003 4:02 PM
To: 'Struts Users Mailing List'
Subject: RE: Struts 1.1 library issue

Apparently once more...

However, the point isn't exactly relevant since these libraries came
with
Tomcat 4, not with struts.  Also, the kickstart makes no mention of any
libraries other than struts.jar.  Perhaps this should be updated for
struts
1.1 to save on frustration and redundant questions.

With that said, moving the commons libs from server/lib to WEB-INF/lib
fixes
the problem.

Thanks David and James.

-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 3:28 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Struts 1.1 library issue


I don't know how many times we need to tell people this but,

Do NOT put any Struts dependent jars in the server's common area!  All
jars
distributed with Struts MUST be in /WEB-INF/lib.

http://jakarta.apache.org/struts/faqs/kickstart.html#jar

David



>From: "Matt Griffin" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List \(E-mail\)"
<[EMAIL PROTECTED]>
>Subject: Struts 1.1 library issue
>Date: Thu, 20 Mar 2003 15:23:47 -0500
>
>Is there a known problem with struts 1.1 library dependencies?  When my
>webapp loads, the struts servlet bombs and is marked unavailable.  The
>stack
>trace looks like:
>
>javax.servlet.ServletException: Error instantiating servlet class
>org.apache.struts.action.ActionServlet
>         at
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.ja
va:9
1
>1)
>         at
>org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
>         at
>org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.
java
:
>3420)
>         at
>org.apache.catalina.core.StandardContext.start(StandardContext.java:360
8)
>         at
>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>         at
>org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>         at
>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>         at
>org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>         at
>org.apache.catalina.core.StandardService.start(StandardService.java:497
)
>         at
>org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
>               ....
>----- Root Cause -----
>java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSet
>               ....
>
>struts.jar is in the webapp's /WEB-INF/lib
>commons-digester.jar is in tomcat/server/lib
>
>This problem does not occur with struts 1.0 since that version lacks
the
>commons library dependencies.
>
>Matt Griffin
>Software Developer
>Nerac, Inc.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
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]

Reply via email to