struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Cooper" <...@maxcooper.com>
Subject Re: NoClassDefFoundError - Weblogic 6.1
Date Tue, 09 Apr 2002 00:34:51 GMT
I noticed something very strange in WL 6.1 SP2 -- it will not load jars that
have more than one dot in the name. I had to change our
jakarta-regexp-1.2.jar to jakarta-regexp-1_2.jar (got rid of the . in 1.2)
to get it to load correctly. If your struts jar is called struts-1.1.jar or
something like that, it might not load correctly.

-Max

----- Original Message -----
From: "Chuck Cavaness" <chuckcavaness@attbi.com>

> I had this problem recently with our WL installation. I can't remember the
> exact cause. Obviously it's all about class loaders. The difference
between
> the parent class loader and the one that is used to load the web app. One
> thing to check, see if you have the WEB-INF classes directory in the
system
> classpath. If it is, try taking it out and see what happens. You're right
> of course, the struts.jar should be in the lib directory of the web app.
>
> Chuck
>
> At 09:55 PM 4/8/2002 +0530, you wrote:
> >Hi all,
> >
> >The error is:
> >
> >java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
> >The environment is:
> >Weblogic 6.1 SP1
> >WIN NT 2000
> >Struts.jar is in the lib directory of our application.
> >The JSP includes other JSPs which are included using the directive. I
have
> >traced the error to an included JSP which is using the <html: form> tag.
> >This error is being thrown by this tag library as it is not finding the
> >above class.
> >The error goes away by keeping struts.jar in the classpath of Weblogic
> >startup. Of course this is not the solution.
> >Any clues?
> >Rgs,
> >Vikram



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message