On Oct 6, 2006, at 10:24 AM, Dave Newton wrote:

Using Tiles is probably a requirement but I'm having problems figuring
out which builds I'm supposed to be using with Struts2 (and I'm only
assuming it's a versioning/snapshot issue). (I'm not supposed to use
anything new besides Struts2 for this-I didn't tell them it's using
Spring for its IoC ;)

[snip]

Using the non-dated snapshot I get the following dump (only pasting root
cause):



java.lang.NoSuchMethodError:
org.apache.tiles.ComponentContext.getContext(Ljavax/servlet/ ServletReque
st;)Lorg/apache/tiles/ComponentContext;

            at
org.apache.struts2.views.tiles.TilesResult.getComponentContext (TilesResu
lt.java:172)

I can't comment on the NPE of the dated snapshot, but on this one you have a mismatch in the version of TilesResult and the version of Tiles2. The latest version of TilesResult is using the TilesContext API, but it looks like your version of TilesResult is using an older Tiles API. Everything in svn is currently in sync. Maybe we need to release a new snapshot of the package that contains TilesResult? I'm not really sure where the mismatch is.

Greg




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to