struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcin Pietraszek" <m.pietras...@gmail.com>
Subject Struts 2.0.11 + Tiles 2.0.5
Date Thu, 03 Jan 2008 07:50:56 GMT
Hello,

with this configuration in pom.xml

...
<dependency>
        <groupId>org.apache.struts</groupId>
        <artifactId>struts2-core</artifactId>
        <version>2.0.11</version>
</dependency>
<dependency>
        <groupId>org.apache.tiles</groupId>
        <artifactId>tiles-core</artifactId>
        <version>2.0.5</version>
</dependency>
<dependency>
        <groupId>org.apache.tiles</groupId>
        <artifactId>tiles-jsp</artifactId>
        <version>2.0.5</version>
</dependency>
<dependency>
        <groupId>org.apache.struts</groupId>
        <artifactId>struts2-tiles-plugin</artifactId>
        <version>2.0.5</version>
</dependency>
...

and following in web.xml
<listener>
  	<listener-class>org.apache.tiles.web.startup.TilesListener</listener-class>
</listener>

I get this error
exception
javax.servlet.ServletException: Filter execution threw an exception

root cause
java.lang.NoSuchMethodError:
org.apache.tiles.TilesContainer.render(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)V
	org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:104)
	org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
	com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)...

I supose problem is with some dependencies, but unfortunately I cant
figure out which are bad. I dont know that this could be importat -
I'm using Tomcat 6.0.14.

TIAFAA

-- 
greetings!
marcin.pietraszek.pl

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


Mime
View raw message