[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    Re: ViewPreparer issue after updating from 6.2.0 to 6.3.0.1
From:       Lukasz Lenart <lukaszlenart () apache ! org>
Date:       2023-10-04 4:36:25
Message-ID: CAMopvkPA0SN8Dfwr+R6uErvDG9HjUHpmsFuops6cGrC_MbnSGg () mail ! gmail ! com
[Download RAW message or body]

wt., 3 paź 2023 o 17:05 Chris Scroll <chrisbusiness1@gmail.com> napisał(a):
> 
> After I updated to struts 6.3.0.1 I am receiving the following exception:
> 
> java.lang.ClassCastException: helpers.preparer.BreadCrumbPreparer cannot be
> cast to org.apache.tiles.api.preparer.ViewPreparer
> 
> If I revert back to struts2-tiles-plugin-6.2.0.jar the program runs without
> exceptions.
> 
> Note: My BreadCrumbPreparer class implements 'ViewPreparer' from
> tiles-api-3.0.8.jar

Could you post the whole stack? As far as I see the ViewPreparer
interface [1] is part of the plugin, maybe we have both JARs on
classpath - tiles-api & struts2-tiles-plugin?

[1] https://github.com/apache/struts/blob/master/plugins/tiles/src/main/java/org/apache/tiles/api/preparer/ViewPreparer.java



Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic