Do a clean recompile of your sources.  Looks like the API changed to
add a varargs of strings to the method; that's source compatible but
not binary compatible.

On Mon, Aug 30, 2010 at 2:06 AM, Steve Eynon
<steve.ey...@alienfactory.co.uk> wrote:
> Hello,
>
> I really want to upgrade to T5.2 but have come across a bit of a hurdle.
>
> I'm trying to add a bit of markup to *every* page. I've written a
> mixin to supply the markup and am using a
> ComponentClassTransformWorker to add the mixin to every page. This
> worked flawlessly in T5.1.0.5 but in T5.2.0 I'm getting:
>
> java.lang.NoSuchMethodError:
> org.apache.tapestry5.model.MutableComponentModel.addMixinClassName(Ljava/lang/String;)V
>
> It seems like the underlying page model in T5.2 doesn't yet support mixins!?
>
> Is this expected behaviour and / or is there a better way of achieving
> what I'm after?
>
> I've tried adding a component instead but then I get a snobby:
>
> Embedded component(s) XXXX are defined within component class
> org.apache.tapestry5.corelib.pages.ExceptionReport (or a super-class
> of ExceptionReport), but are not present in the component template
> (classpath:org/apache/tapestry5/corelib/pages/ExceptionReport.tml).
>
> Any ideas?
>
> Steve.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to