Hi Nathan,  in my experience the NoClassDefFoundError in Weblogic is
usually a classloader related problem.  Have you checked, that all
classes you use are the WAR-file (/lib-directory), instead of having
some of them on the system classpath?

-Stefan



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Nathan Weddle
> Sent: Wednesday, March 31, 2004 5:35 PM
> To: [EMAIL PROTECTED]
> Subject: Re: AW: [displaytag-user] 
> java.lang.NoClassDefFoundError: org.display 
> tag.decorator.TableDecorator
> 
> 
> Sorry, I should have included that, but I do have the
> fully qualified class name in my code.
> 
> I am wondering why the TableDecorator cannot be found
> if it is located in WEB-INF/lib?
> 
> 
> Thanks!
> 
> 
> --- Papick Garcia Taboada <[EMAIL PROTECTED]> wrote:
> > you should add the fully qualified name of the
> > class. 
> > 
> >
> package.name.and.then.class.name.CommonLogEventDecorator
> > 
> > brgds,
> > 
> > papick
> > 
> > -----Urspr�ngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > Im Auftrag von Paul
> > McCulloch
> > Gesendet: Mittwoch, 31. M�rz 2004 14:40
> > An: '[EMAIL PROTECTED]'
> > Betreff: RE: [displaytag-user]
> > java.lang.NoClassDefFoundError: org.display
> > tag.decorator.TableDecorator
> > 
> > 
> > Looks like it can't find your table decorator. Try
> > removing that attribute
> > from the table tag.
> > 
> > Paul
> > 
> > > -----Original Message-----
> > > From: Nathan Weddle [mailto:[EMAIL PROTECTED]
> > > Sent: 31 March 2004 00:16
> > > To: [EMAIL PROTECTED]
> > > Subject: [displaytag-user]
> > java.lang.NoClassDefFoundError: 
> > > org.displaytag.decorator.TableDecorator
> > > 
> > > 
> > > I am using 1.0-b2 displaytag on Weblogic 8.1.
> > > 
> > > I have the display tag jar in my WEB-INF/lib and I
> > > have all the other stuff configured properly.
> > > 
> > > Funny thing is, I had this working, then I
> > configured
> > > the 1.0-b3 version. I couldn't get that to work so
> > I
> > > switched back to the 1.0-b2 jar.  Now I can't get
> > that
> > > to work.  I made sure that I was using the proper
> > tld
> > > files.  I ensured that Weblogic is not caching
> > > anything.  I deleted all files from weblogic and
> > > re-deployed, no luck.  I am using *11.tld right
> > now.
> > > One of those days I guess...
> > > 
> > > <display:table name="cleTable" sort="page"
> > > defaultsort="2" id="cle"
> > > decorator="CommonLogEventDecorator">
> > > 
> > > Here's the stacktrace...
> > > Root cause of ServletException.
> > > java.lang.NoClassDefFoundError: 
> > > org.displaytag.decorator.TableDecorator
> > >   at
> >
> java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang
> > > .Class;(Unknown
> > > Source)
> > >   at
> > >
> >
> java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang
> > > .Class;(Unknown
> > > Source)
> > >   at
> > >
> >
> java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.
> > > Class;(Unknown
> > > Source)
> > >   at
> > >
> >
> weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava
> > >
> >
> .lang.String;)Ljava.lang.Class;(GenericClassLoader.java:223)
> > >   at
> > >
> >
> weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(L
> > >
> >
> java.lang.String;)Ljava.lang.Class;(ChangeAwareClassLoader.java:41)
> > >   at
> > >
> >
> java.lang.ClassLoader.loadClassFromNative(II)I(Unknown
> > > Source)
> > >   at
> > >
> >
> COM.jrockit.vm.Classes.forName0(Ljava.lang.String;ZI)I(Native
> > > Method)
> > >   at
> > >
> >
> COM.jrockit.vm.Classes.forName(Ljava.lang.String;ZLjava.lang.C
> > > lassLoader;)Ljava.lang.Class;(Unknown
> > > Source)
> > >   at
> > >
> >
> java.lang.Class.forName(Ljava.lang.String;I)Ljava.lang.Class;(Unknown
> > > Source)
> > >   at
> > >
> >
> org.displaytag.decorator.DecoratorFactory.loadTableDecorator(L
> > >
> >
> java.lang.String;)Lorg.displaytag.decorator.TableDecorator;(De
> > > coratorFactory.java:39)
> > >   at
> > >
> >
> org.displaytag.tags.TableTag.doEndTag()I(TableTag.java:813)
> > >   at
> > >
> >
> jsp_servlet.__searchresult._jspService(Ljavax.servlet.http.Htt
> > >
> >
> pServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(__s
> > > earchresult.java:432)
> > >   at
> > >
> >
> weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletReq
> > >
> >
> uest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33)
> > >   at
> > >
> >
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAct
> > >
> >
> ion.run()Ljava.lang.Object;(ServletStubImpl.java:971)
> > >   at
> > >
> >
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax
> >
> .servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblog
> ic.servlet.int
> > ernal.FilterChainImpl;)V(ServletStubImpl.java:402)
> > >   at
> >
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax
> >
> .servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblog
> ic.servlet.int
> > ernal.FilterChainImpl;)V(ServletStubImpl.java:446)
> > >   at
> >
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax
> > >
> >
> .servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(Serv
> > > letStubImpl.java:305)
> > >   at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext$ServletInvocati
> > >
> >
> onAction.run()Ljava.lang.Object;(WebAppServletContext.java:6350)
> > >   at
> > >
> >
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lwebl
> > >
> >
> ogic.security.subject.AbstractSubject;Ljava.security.Privilege
> > >
> >
> dAction;)Ljava.lang.Object;(AuthenticatedSubject.java:317)
> > >   at
> > >
> >
> weblogic.security.service.SecurityManager.runAs(Lweblogic.secu
> >
> rity.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.
> internal.Authe
> >
> nticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;>
> > (SecurityManager.java:118)
> > >   at
> >
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(L
> > >
> >
> weblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet
> > >
> >
> .internal.ServletResponseImpl;)V(WebAppServletContext.java:3635)
> > >   at
> > >
> >
> weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic
> > >
> >
> .kernel.ExecuteThread;)V(ServletRequestImpl.java:2585)
> > >   at
> > >
> >
> weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.Execute
> > > Request;)V(ExecuteThread.java:197)
> > >   at
> > >
> >
> weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
> > >   at
> > >
> >
> java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknow
> > > n Source)
> > > 
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Finance Tax Center - File online. File on
> > time. 
> > > http://taxes.yahoo.com/filing.html
> > > 
> > > 
> > >
> >
> -------------------------------------------------------
> > > This SF.Net email is sponsored by: IBM Linux
> > Tutorials
> > > Free Linux tutorial presented by Daniel Robbins,
> > President and CEO of 
> > > GenToo technologies. Learn everything from
> > fundamentals to system 
> > >
> >
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > 
> === message truncated ===
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on time.
> http://taxes.yahoo.com/filing.html
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> displaytag-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
> 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to