struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasanth <dbad...@pangburngroup.com>
Subject Re: java.lang.ClassCastException: org.apache.struts2.dispatcher.mapper.ActionMapping
Date Fri, 02 Mar 2018 14:16:38 GMT
There are two applications on different contexts. Each have their own struts jars. The exception
happens when a request to one context is forwarded to another context.

Thanks,
Prasanth

On 03/02/2018 01:13 AM, Lukasz Lenart wrote:
> 2018-03-01 20:20 GMT+01:00 Prasanth <dbadmin@pangburngroup.com>:
>> 13:17:52,070 ERROR [stderr] (default task-59) Caused by: java.lang.ClassCastException:
com.opensymphony.xwork2.ognl.OgnlValueStack cannot be cast to com.opensymphony.xwork2.util.ValueStack
> You have two the same JARs on a class path but in different versions
> (probably xwork-core-*.jar) or JARs were loaded by different
> classloaders which means some framework's JARs were included inside
> Wildfly
>
>
> Regards


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message