You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jean-Charles Giardina <jc...@gmail.com> on 2005/12/15 10:22:04 UTC

ServletException: duplicate class definition ?!

Hi every body,

I get an javax.servlet.ServletException: duplicate class definition:
com/amarda/framework/taglib/RowTag
on webapp start up only.  Upon refreshing the page this error goes away.

This exception occurs when using more than one frame (including internal frame).

Tks folks.

Re: ServletException: duplicate class definition ?!

Posted by Jean-Charles Giardina <jc...@gmail.com>.
Thank,

But all my JAR are in WEB-APP/lib. And I've not found multiple copie.
In my my frame there is only JSP from one webapp !

Regards.

2005/12/15, Laurie Harper <la...@holoweb.net>:
> Jean-Charles Giardina wrote:
> > Hi every body,
> >
> > I get an javax.servlet.ServletException: duplicate class definition:
> > com/amarda/framework/taglib/RowTag
> > on webapp start up only.  Upon refreshing the page this error goes away.
> >
> > This exception occurs when using more than one frame (including internal frame).
> >
> > Tks folks.
>
> Check for multiple copies of your RowTag class in the classpath (or
> multiple copies of a JARc containing that class). You probably have the
> class in a shared library as well as your webapp's libraries / classes.
>
> L.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: ServletException: duplicate class definition ?!

Posted by Laurie Harper <la...@holoweb.net>.
Jean-Charles Giardina wrote:
> Hi every body,
> 
> I get an javax.servlet.ServletException: duplicate class definition:
> com/amarda/framework/taglib/RowTag
> on webapp start up only.  Upon refreshing the page this error goes away.
> 
> This exception occurs when using more than one frame (including internal frame).
> 
> Tks folks.

Check for multiple copies of your RowTag class in the classpath (or 
multiple copies of a JARc containing that class). You probably have the 
class in a shared library as well as your webapp's libraries / classes.

L.


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