You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dave Newton <ne...@yahoo.com> on 2008/04/05 19:47:39 UTC

[OT] Re: Struts2 and tag

--- aum strut <au...@gmail.com> wrote:
> here is the exception which i am facing
> 
> java.lang.NoClassDefFoundError: *org/apache/commons/lang/UnhandledException
> *

So what does that exception tell you?

(I have very limited internet access today, so I can't look up the
requirements for displaytag. but do you have all the required libraries for
it?)

Dave


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


Re: [OT] Re: Struts2 and tag

Posted by Gabriel Belingueres <be...@gmail.com>.
Seems you missed to add the Apache Commons Lang library jar file.

I have projects running with displaytag 1.1.1 and commons-lang 2.3.
(Don't know if the last 2.4 version work though.)

Gabriel

2008/4/5, Dave Newton <ne...@yahoo.com>:
> --- aum strut <au...@gmail.com> wrote:
> > here is the exception which i am facing
> >
> > java.lang.NoClassDefFoundError: *org/apache/commons/lang/UnhandledException
> > *
>
> So what does that exception tell you?
>
> (I have very limited internet access today, so I can't look up the
> requirements for displaytag. but do you have all the required libraries for
> it?)
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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


Re: [OT] Re: Struts2 and tag

Posted by Jeromy Evans <je...@blueskyminds.com.au>.
arum,

Read this *entire* page paying particular attention to point 2 
"dependencies":

http://displaytag.sourceforge.net/11/install.html

A ClassNotFoundException always implies you're missing a jar in the 
classpath.


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


Re: [OT] Re: Struts2 and tag

Posted by aum strut <au...@gmail.com>.
thanks dave for the help iwill look in to this and will try to find out the
clue

On 4/5/08, Dave Newton <ne...@yahoo.com> wrote:
>
> --- aum strut <au...@gmail.com> wrote:
> > i am using my eclipse for the development
> > everything was working ine before i tried to use the display tag
>
> ...
>
> The exception is telling you precisely what class is missing; this is a
> clue
> as to what may be wrong.
>
> Do you have *all* the libraries you need for using displaytag?
>
> You can't just randomly add libraries to your application and expect it to
> work: libraries have their own sets of dependencies. You almost certainly
> don't have all the dependencies that displaytag requires.
>
> Look up the dependencies for displaytag and make sure you have them all.
> Here's the link:
>
> http://displaytag.sourceforge.net/11/displaytag/dependencies.html
>
> This is Java 101. I'd consider taking some time to learn the environment
> within which you're attempting to program; it will almost certainly save
> time
> and aggravation.
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: [OT] Re: Struts2 and tag

Posted by Dave Newton <ne...@yahoo.com>.
--- aum strut <au...@gmail.com> wrote:
> i am using my eclipse for the development
> everything was working ine before i tried to use the display tag

...

The exception is telling you precisely what class is missing; this is a clue
as to what may be wrong.

Do you have *all* the libraries you need for using displaytag?

You can't just randomly add libraries to your application and expect it to
work: libraries have their own sets of dependencies. You almost certainly
don't have all the dependencies that displaytag requires.

Look up the dependencies for displaytag and make sure you have them all.
Here's the link:

http://displaytag.sourceforge.net/11/displaytag/dependencies.html

This is Java 101. I'd consider taking some time to learn the environment
within which you're attempting to program; it will almost certainly save time
and aggravation.

Dave


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


Re: [OT] Re: Struts2 and tag

Posted by aum strut <au...@gmail.com>.
i am using my eclipse for the development
everything was working ine before i tried to use the display tag



On 4/5/08, Alberto A. Flores <aa...@gmail.com> wrote:
>
> Please note:
>
> java.lang.NoClassDefFoundError:
> *org/apache/commons/lang/UnhandledException
> *
>
> Indicates the classloader couldn't find a class (which one, you may ask?).
> Looks like commons.lang couldn't find the UnhandledException class. Please
> make sure you have all displaytag dependencies. You may want to consider
> using maven2 to avoid these problems.
>
>
> On Sat, Apr 5, 2008 at 1:52 PM, aum strut <au...@gmail.com> wrote:
>
> > yes i have already put the display tag jr file in my lib folder
> > only problem in my opinion is use of
> >
> > <%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
> > tag lib directiveas removing this directive will aslo remove the
> > exception,
> > according to exceptin it is unable to find the class.
> > myself also trying to use the display tag first time with struts2 and i
> am
> > also not sure abot how to configure it with struts2.
> >
> >
> > On 4/5/08, Dave Newton <ne...@yahoo.com> wrote:
> > >
> > > --- aum strut <au...@gmail.com> wrote:
> > > > here is the exception which i am facing
> > > >
> > > > java.lang.NoClassDefFoundError:
> > > *org/apache/commons/lang/UnhandledException
> > > > *
> > >
> > > So what does that exception tell you?
> > >
> > > (I have very limited internet access today, so I can't look up the
> > > requirements for displaytag. but do you have all the required
> libraries
> > > for
> > > it?)
> > >
> > > Dave
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
>
>
>
> --
> Alberto
> http://www.linkedin.com/in/aflores
>

Re: [OT] Re: Struts2 and tag

Posted by "Alberto A. Flores" <aa...@gmail.com>.
Please note:

java.lang.NoClassDefFoundError: *org/apache/commons/lang/UnhandledException
*

Indicates the classloader couldn't find a class (which one, you may ask?).
Looks like commons.lang couldn't find the UnhandledException class. Please
make sure you have all displaytag dependencies. You may want to consider
using maven2 to avoid these problems.


On Sat, Apr 5, 2008 at 1:52 PM, aum strut <au...@gmail.com> wrote:

> yes i have already put the display tag jr file in my lib folder
> only problem in my opinion is use of
>
> <%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
> tag lib directiveas removing this directive will aslo remove the
> exception,
> according to exceptin it is unable to find the class.
> myself also trying to use the display tag first time with struts2 and i am
> also not sure abot how to configure it with struts2.
>
>
> On 4/5/08, Dave Newton <ne...@yahoo.com> wrote:
> >
> > --- aum strut <au...@gmail.com> wrote:
> > > here is the exception which i am facing
> > >
> > > java.lang.NoClassDefFoundError:
> > *org/apache/commons/lang/UnhandledException
> > > *
> >
> > So what does that exception tell you?
> >
> > (I have very limited internet access today, so I can't look up the
> > requirements for displaytag. but do you have all the required libraries
> > for
> > it?)
> >
> > Dave
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>



-- 
Alberto
http://www.linkedin.com/in/aflores

Re: [OT] Re: Struts2 and tag

Posted by aum strut <au...@gmail.com>.
yes i have already put the display tag jr file in my lib folder
only problem in my opinion is use of

<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
tag lib directiveas removing this directive will aslo remove the exception,
according to exceptin it is unable to find the class.
myself also trying to use the display tag first time with struts2 and i am
also not sure abot how to configure it with struts2.


On 4/5/08, Dave Newton <ne...@yahoo.com> wrote:
>
> --- aum strut <au...@gmail.com> wrote:
> > here is the exception which i am facing
> >
> > java.lang.NoClassDefFoundError:
> *org/apache/commons/lang/UnhandledException
> > *
>
> So what does that exception tell you?
>
> (I have very limited internet access today, so I can't look up the
> requirements for displaytag. but do you have all the required libraries
> for
> it?)
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>