struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Réf. : Re: Migration Struts 1.1 - java.lang.LinkageError - ActionForm class
Date Tue, 20 Apr 2004 14:22:33 GMT

Thanks !!!
The problem was this !!!


Extranet - 20/04/2004 15:31

Veuillez répondre à
Pour : user

cc :

Objet :     Re: Migration Struts 1.1 - java.lang.LinkageError - ActionForm

Are you sure that you've removed all old JARs?  Did you recompile
your code against the new libraries?

The error you report might happen if you have two versions of the
Struts JAR in your WEB-INF/lib


At 2:05 PM +0200 4/20/04, wrote:
>I have upgrade of my project from struts 1.0.2 to Struts 1.1.
>My project is an Intranet Portal and is composed of 2 parts : Admin
>and Public.
>So, I have 2 differents files web.xml and struts-config.xml in 2
>different folder (Admin and Public).
>When the Admin part runs in the first one, it does not raise problem,
>however when the Public part is run in second, I have the following error:
>java.lang.LinkageError: loader constraints violated when linking
>org/apache/struts/action/ActionForm class
>       at java.lang.Class.newInstance0(Native Method)
>       at java.lang.Class.newInstance(Unknown Source)
>       at

>       at

Joe Germuska
       "Imagine if every Thursday your shoes exploded if you tied them
the usual way.  This happens to us all the time with computers, and
nobody thinks of complaining."
             -- Jef Raskin

To unsubscribe, e-mail:
For additional commands, e-mail:

This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 


Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message