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 13:42:40 GMT

Yes, but Admin and Public are consider like two applications differents.

I have a folder for Admin with them configuration's file (web.xml and
       struts-config.xml) and a folder for Public with them configuration's

Maybe i must create a sub application like struts 1.1 suggest ?


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

The Servlet spec does not support 2 web.xml files.  You should only have
one -- located under the /WEB-INF folder.  You can have multiple struts
configuration files by specifying them in the Action Servlet
configuration in web.xml:

     <!-- this number indicates relative order to load servlets -->
   </servlet> wrote:

> Hi,
> 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
> 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
> 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

>       at

>       at
>       at
>       at javax.servlet.http.HttpServlet.service(
>       at javax.servlet.http.HttpServlet.service(
>       at

>       at
>       at
>       at com.sssw.srv.http.httpd.perform(
>       at com.sssw.srv.http.Client.processRequest(
>       at com.sssw.srv.http.Client.loop(
>       at com.sssw.srv.http.Client.runConnection(
>       at
>       at Source)
> When the Public part runs in the first one, it does not raise problem,
> however when the Admin part is run in second, I have the same error.
> It seems that my problem regards the configuration.
> The code was not changed.
> Thanks,
> Antoine

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