Hi,
I am using Tiles 2.0.5 with Struts 2.0.6 in tomcat 6.0.14.. I am congfiguring 
the tiles thruougdefining it as servlet in the web.xml as follows : 
   <servlet>
         <servlet-name>tiles</servlet-name> 
         
<servlet-class>org.apache.tiles.web.startup.TilesServlet</servlet-class>
                <init-param>
                <param-name>definitions-config</param-name>
                <param-value>/WEB-INF/tiles.xml</param-value> 
                </init-param> 
                <load-on-startup>2</load-on-startup> 
    </servlet> .
and using the result type as tiles default in struts.xml as follows:
<result-types>
<result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult" 
default="true" /> 
</result-types>.
I have tiles-api-2.0.5, tiles-2.0.5-core, tiles-2.0.5-jsp jars in my lib.
After that i deployed that in tomcat and trying to acces the page from 
index.jsp file, it throws me the error as follows : 
 SEVERE: Servlet.service() for servlet default threw exception
     [java] java.lang.NoSuchMethodError: 
org.apache.tiles.TilesContainer.render(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)V
     [java]     at 
org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:104)
     [java]     at 
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
     [java]     at 
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:343)
   .......................................................

I am attaching the project file with this. I removed lib coz of size concern.
So please help me to solve this issue .

Thanks in advance,
JK

I am
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=207829&messageID=285648#285648

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

Reply via email to