struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasser Zamani <>
Subject Re: java.lang.ClassCastException: org.apache.struts2.dispatcher.mapper.ActionMapping
Date Fri, 15 Dec 2017 20:12:50 GMT

On 12/15/2017 9:47 PM, Prasanth wrote:
> Is this issue just with Struts2, as it works with Struts1.

No it's not a Struts issue. You don't see this in Struts1 because maybe 
it doesn't use any object bounded to dispatched request. But Struts2 
wants to

ActionMapping mapping = 

A workaround would be removing object with key "struts.actionMapping" 
from request before dispatching.

I hope this helps.

To unsubscribe, e-mail:
For additional commands, e-mail:
View raw message