You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Saeed Iqbal <sa...@gmail.com> on 2009/12/02 17:50:19 UTC

Re: Upgrade 2.1.6 to 2.1.8.1

This looks like a classpath issue

On Wednesday, December 2, 2009, Gustavo Andrés Guevara Saavedra
<g....@i-deal.hu> wrote:
> Hi,
>
> I've just migrated my app. from Struts 2.1.6 to 2.1.8.1. The application worked fine but now throws the following exception upon launching the server:
>
> Unable to load configuration. - bean - jar:file:/C:/Yazix/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/front_web/WEB-INF/lib/struts2-spring-plugin-2.1.8.1.jar!/struts-plugin.xml:29:132
>
> Caused by: java.lang.ClassNotFoundException: com.opensymphony.xwork2.util.classloader.ReloadingClassLoader
>
> I've made sure that struts2-core-2.1.8.1.jar as well as struts2-spring-2.1.8.1 are included and exported to the application, what am I doing wrong?
>
> Thanks for the attention,
>
> Regards,
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

-- 
Saeed Iqbal
Independant Consultant (Freelance)
J2EE - Application Architect / Developer

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


Re: Upgrade 2.1.6 to 2.1.8.1

Posted by Saeed Iqbal <sa...@gmail.com>.
If you are using maven do a dependency:tree and exclude redundant packages

On Wednesday, December 2, 2009, Musachy Barroso <mu...@gmail.com> wrote:
> make sure you dont have 2 versions of xwork.
>
> musachy
>
> On Wed, Dec 2, 2009 at 8:50 AM, Saeed Iqbal <sa...@gmail.com> wrote:
>> This looks like a classpath issue
>>
>> On Wednesday, December 2, 2009, Gustavo Andrés Guevara Saavedra
>> <g....@i-deal.hu> wrote:
>>> Hi,
>>>
>>> I've just migrated my app. from Struts 2.1.6 to 2.1.8.1. The application worked fine but now throws the following exception upon launching the server:
>>>
>>> Unable to load configuration. - bean - jar:file:/C:/Yazix/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/front_web/WEB-INF/lib/struts2-spring-plugin-2.1.8.1.jar!/struts-plugin.xml:29:132
>>>
>>> Caused by: java.lang.ClassNotFoundException: com.opensymphony.xwork2.util.classloader.ReloadingClassLoader
>>>
>>> I've made sure that struts2-core-2.1.8.1.jar as well as struts2-spring-2.1.8.1 are included and exported to the application, what am I doing wrong?
>>>
>>> Thanks for the attention,
>>>
>>> Regards,
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>
>> --
>> Saeed Iqbal
>> Independant Consultant (Freelance)
>> J2EE - Application Architect / Developer
>>
>> ---------------------------------------------------------------------
>> 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
>
>

-- 
Saeed Iqbal
Independant Consultant (Freelance)
J2EE - Application Architect / Developer

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


Re: Upgrade 2.1.6 to 2.1.8.1

Posted by Musachy Barroso <mu...@gmail.com>.
make sure you dont have 2 versions of xwork.

musachy

On Wed, Dec 2, 2009 at 8:50 AM, Saeed Iqbal <sa...@gmail.com> wrote:
> This looks like a classpath issue
>
> On Wednesday, December 2, 2009, Gustavo Andrés Guevara Saavedra
> <g....@i-deal.hu> wrote:
>> Hi,
>>
>> I've just migrated my app. from Struts 2.1.6 to 2.1.8.1. The application worked fine but now throws the following exception upon launching the server:
>>
>> Unable to load configuration. - bean - jar:file:/C:/Yazix/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/front_web/WEB-INF/lib/struts2-spring-plugin-2.1.8.1.jar!/struts-plugin.xml:29:132
>>
>> Caused by: java.lang.ClassNotFoundException: com.opensymphony.xwork2.util.classloader.ReloadingClassLoader
>>
>> I've made sure that struts2-core-2.1.8.1.jar as well as struts2-spring-2.1.8.1 are included and exported to the application, what am I doing wrong?
>>
>> Thanks for the attention,
>>
>> Regards,
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
> --
> Saeed Iqbal
> Independant Consultant (Freelance)
> J2EE - Application Architect / Developer
>
> ---------------------------------------------------------------------
> 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