You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Peter Pilgrim <pe...@db.com> on 2001/09/24 19:33:22 UTC

Re: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionFo rm


YES! I fixed the problem because I changed the "startup.sh" tomcat script
previously before Struts to include various jars. I should n't have done that.
but copied the proprietary jars in WEB-INF/classes instead. In fact
the Tomcat 3.3 blanks the CLASSPATH and sets only libraries that
appear under $TOMCAT_HOME/common/lib etc. In the older Tomcat 3.2
release this did not  happen, and probably the cause of many class not found
exceptions.

Moral: upgrade to Tomcat 3.3 and move out all project specifics jars from
$TOMCAT_HOME/common/lib.  into WEB-INF/lib. If you want tom use updated
Xerces PArser then you should copy the xerces.jar into $TOMCAT_HOME/common/lib

Moral:Check your classpaths.
--
Peter Pilgrim          |  |        ++44 (0)207-545-9923
            .... \  \  ___   /  / ... .
            -   ----  ( * )  ---   --
_____________________________Cafe_Savannah,_San Antonio,Ibiza__



---------------------------------------- Message History ----------------------------------------


From: Jay.B.Febbo@wellsfargo.com on 24/09/2001 11:17 EST

To:   Peter Pilgrim/DMGIT/DMG UK/DeuBa@DMG UK
cc:
Subject:  java.lang.NoClassDefFoundError: org/apache/struts/action/ActionFo rm


Hi Peter --

Did you ever correct this error...

java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm

I'm having the same problem and cannot find a firm answer to what is
happening. I have struts.jar in myapp/WEB-INF/lib. Any help is greatly
appreciated.





--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.