struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <apetre...@apache.org>
Subject Re: Struts 2 + Tiles 2 build failure
Date Fri, 27 Oct 2006 06:41:00 GMT
Wendy Smoak ha scritto:
> Looks like Struts 2 doesn't build against the latest Tiles 2...
>
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> c:\svn\struts\struts2-base\plugins\tiles\src\main\java\org\apache\struts2\views\ 
>
> tiles\TilesResult.java:[123,24] 
> setContext(org.apache.tiles.ComponentContext,org
> .apache.tiles.TilesRequestContext) in 
> org.apache.tiles.ComponentContext cannot b
> e applied to 
> (org.apache.tiles.ComponentContext,org.apache.tiles.TilesContext)
>
> c:\svn\struts\struts2-base\plugins\tiles\src\main\java\org\apache\struts2\views\ 
>
> tiles\TilesResult.java:[176,51] 
> getContext(org.apache.tiles.TilesRequestContext)
> in org.apache.tiles.ComponentContext cannot be applied to 
> (org.apache.tiles.Til
> esContext)
>
> c:\svn\struts\struts2-base\plugins\tiles\src\main\java\org\apache\struts2\views\ 
>
> tiles\TilesResult.java:[179,28] 
> setContext(org.apache.tiles.ComponentContext,org
> .apache.tiles.TilesRequestContext) in 
> org.apache.tiles.ComponentContext cannot b
> e applied to 
> (org.apache.tiles.ComponentContext,org.apache.tiles.TilesContext)

See http://issues.apache.org/struts/browse/SB-44 - TilesContext has 
been, in synthesis, renamed in TilesRequestContext.

> c:\svn\struts\struts2-base\plugins\tiles\src\main\java\org\apache\struts2\views\ 
>
> tiles\TilesResult.java:[197,25] cannot find symbol
> symbol  : method getOrCreateController()
> location: class org.apache.tiles.ComponentDefinition

See http://issues.apache.org/struts/browse/SB-54 - Controller has been 
renamed to ViewPreparer, and the method "getOrCreateController" has been 
renamed to "getOrCreatePreparer".

Ciao
Antonio


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


Mime
View raw message