Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > NoClassDefFoundError in Weblogic

Reply
Thread Tools

NoClassDefFoundError in Weblogic

 
 
tim@nocomment.com
Guest
Posts: n/a
 
      09-02-2006
java.lang.NoClassDefFoundError: org/apache/struts/taglib/html/HtmlTag

I am getting the error message above (or similar messages).
I know the class is in the struts.jar file. What folder do I put this
file to avoid getting the message. Alternatively, do I change my
ClassPath or Path?

Thanks,
TIm

 
Reply With Quote
 
 
 
 
=?ISO-8859-1?Q?Arne_Vajh=F8j?=
Guest
Posts: n/a
 
      09-02-2006
wrote:
> java.lang.NoClassDefFoundError: org/apache/struts/taglib/html/HtmlTag
>
> I am getting the error message above (or similar messages).
> I know the class is in the struts.jar file. What folder do I put this
> file to avoid getting the message. Alternatively, do I change my
> ClassPath or Path?


If Struts is not in WL, then you should put it in WEB-INF\lib.

Arne
 
Reply With Quote
 
 
 
 
tim@nocomment.com
Guest
Posts: n/a
 
      09-02-2006

Arne Vajhøj wrote:
> wrote:
> > java.lang.NoClassDefFoundError: org/apache/struts/taglib/html/HtmlTag
> >
> > I am getting the error message above (or similar messages).
> > I know the class is in the struts.jar file. What folder do I put this
> > file to avoid getting the message. Alternatively, do I change my
> > ClassPath or Path?

>
> If Struts is not in WL, then you should put it in WEB-INF\lib.
>
> Arne


Arne:

I'm putting it everywhere to try to get rid of the message. I've put it
in the WEB-INF\lib directory (I think it is the correct directory, are
you familiar with Weblogic?).
I want to try to put it in the CLASSPATH. I have tried that too and
unless CLASSPATH has to be capitalized, that isn't working either.

 
Reply With Quote
 
=?ISO-8859-1?Q?Arne_Vajh=F8j?=
Guest
Posts: n/a
 
      09-02-2006
wrote:
> Arne Vajhøj wrote:
>> wrote:
>>> java.lang.NoClassDefFoundError: org/apache/struts/taglib/html/HtmlTag
>>>
>>> I am getting the error message above (or similar messages).
>>> I know the class is in the struts.jar file. What folder do I put this
>>> file to avoid getting the message. Alternatively, do I change my
>>> ClassPath or Path?


>> If Struts is not in WL, then you should put it in WEB-INF\lib.


> I'm putting it everywhere to try to get rid of the message. I've put it
> in the WEB-INF\lib directory (I think it is the correct directory, are
> you familiar with Weblogic?).
> I want to try to put it in the CLASSPATH. I have tried that too and
> unless CLASSPATH has to be capitalized, that isn't working either.


If it is in WEB-INF\lib then the server must find it per
servlet specification.

I am not particular familiar with WL, but I am sure that
it follow the spec.

Have you rebuilded the war with the jar in WEB-INF\lib and
redeployed the war ?

Arne
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory greg.knaddison@gmail.com Python 1 06-22-2004 10:58 PM
Need HELP with NoClassDefFoundError!!! keith Java 0 10-17-2003 01:18 AM
URLClassLoader plugin system.... getting java.lang.NoClassDefFoundError netpro2k Java 2 08-21-2003 03:12 PM
NoClassDefFoundError Monsieur Le Maire Java 2 07-21-2003 06:44 PM
Can't find class java.lang.NoClassDefFoundError. (Wrong class path?) qazmlp Java 6 07-11-2003 10:09 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57