On 1/30/07, Gonçalo Luiz <[EMAIL PROTECTED]> wrote:
Hello, After a few days fighting with Struts2 and Tiles2 I decided to ask in the mailing list: does actually anybody managed to get them to work together? I tried different approaches: 1 - Use a listener in web.xml -> got an error that kept tomcat throwing 404 error 2 - use a servlet in web.xml -> all went to until I used a tile result type which threw a java.lang.NoClassDefFoundError: org/apache/tiles/TilesContext
TilesContext is obsolete (see http://issues.apache.org/struts/browse/TILES-82); you're best off moving to the newest possible versions of all of the relevant jars. I'm not sure if true nightly builds of Tiles have been set up yet, but the latest snapshots for Struts and Tiles are all working together for me. It's easier by a long shot to do this with Maven, but if you need to retrieve new JARs yourself, you could manually retrieve them from the Maven repository anyway... Struts nightly builds can be retrieved from http://people.apache.org/builds/struts/nightlies/2.0.x/ As far as I know, the SNAPSHOTs here represent the HEAD of the SVN repository even though they aren't published as official nightly builds: http://people.apache.org/repo/m2-snapshot-repository/org/apache/tiles/ Maybe that will help... -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is that we learned from João forever to be out of tune." -- Caetano Veloso