struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rouserlzy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-1418) Struts 2 does not compile against Tiles 2.0-SNAPSHOT
Date Fri, 05 Jan 2007 15:08:16 GMT

    [ https://issues.apache.org/struts/browse/WW-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39669
] 

rouserlzy commented on WW-1418:
-------------------------------

in 2.0.3,class org.apache.struts2.tiles.StrutsTilesListener
the method createContainer()  throws a org.apache.tile.TilesException,but int tile-core-2.0*,the
class org.apache.tile.TilesException has been removed

> Struts 2 does not compile against Tiles 2.0-SNAPSHOT
> ----------------------------------------------------
>
>                 Key: WW-1418
>                 URL: https://issues.apache.org/struts/browse/WW-1418
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Wendy Smoak
>         Assigned To: Don Brown
>             Fix For: 2.0.1
>
>         Attachments: tiles-2.0.0.patch
>
>
> Updating the Tiles 2 dependency to the latest snapshot causes a compilation failure.
> Index: core/pom.xml
> ===================================================================
> --- core/pom.xml        (revision 437389)
> +++ core/pom.xml        (working copy)
> @@ -190,7 +190,7 @@
>          <dependency>
>              <groupId>org.apache.struts.tiles</groupId>
>              <artifactId>tiles-core</artifactId>
> -            <version>0.2-SNAPSHOT</version>
> +            <version>2.0-SNAPSHOT</version>
>              <optional>true</optional>
>          </dependency>
>          <dependency>
> Compiling 460 source files to e:\svn\struts\current\struts2\core\target\classes
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> e:\svn\struts\current\struts2\core\src\main\java\org\apache\struts2\views\tiles\
> TilesResult.java:[112,24] setContext(org.apache.tiles.ComponentContext,org.apach
> e.tiles.TilesContext) in org.apache.tiles.ComponentContext cannot be applied to
> (org.apache.tiles.ComponentContext,javax.servlet.http.HttpServletRequest)
> e:\svn\struts\current\struts2\core\src\main\java\org\apache\struts2\views\tiles\
> TilesResult.java:[165,51] getContext(org.apache.tiles.TilesContext) in org.apach
> e.tiles.ComponentContext cannot be applied to (javax.servlet.http.HttpServletReq
> uest)
> e:\svn\struts\current\struts2\core\src\main\java\org\apache\struts2\views\tiles\
> TilesResult.java:[168,28] setContext(org.apache.tiles.ComponentContext,org.apach
> e.tiles.TilesContext) in org.apache.tiles.ComponentContext cannot be applied to
> (org.apache.tiles.ComponentContext,javax.servlet.http.HttpServletRequest)
> e:\svn\struts\current\struts2\core\src\main\java\org\apache\struts2\views\tiles\
> TilesResult.java:[201,18] execute(org.apache.tiles.TilesContext,org.apache.tiles
> .ComponentContext) in org.apache.tiles.Controller cannot be applied to (org.apac
> he.tiles.ComponentContext,javax.servlet.http.HttpServletRequest,javax.servlet.ht
> tp.HttpServletResponse,javax.servlet.ServletContext)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message