This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes Not able to render view in Spring 2.5 with Tiles2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Not able to render view in Spring 2.5 with Tiles2" Watch "Not able to render view in Spring 2.5 with Tiles2" New topic
Author

Not able to render view in Spring 2.5 with Tiles2

Anoop Nair
Ranch Hand

Joined: Oct 29, 2008
Posts: 70
Hi All,

I am using Spring 2.5 with Tiles2. I am using UrlBasedViewResolver. My controller class extends SimpleFormController. When a request is, I am not able to view the JSP. I get the below Exception.

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.tiles.definition.NoSuchDefinitionException: report
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:583)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

org.apache.tiles.definition.NoSuchDefinitionException: report
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:392)
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:368)
org.springframework.web.servlet.view.tiles2.TilesView.renderMergedOutputModel(TilesView.java:75)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)



I have configured the tile report in my tiles definition file.

Below is the Code:

Spring bean.xml





Am not able to figure out why this is happening. Am I missing something here ???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to render view in Spring 2.5 with Tiles2
 
Similar Threads
date format problem
JSTL Request scope bound List problem
Failure to load tld files
Application is executing correctly but getting these exception in log
Spring ModelMap rendering problem