Meaningless Drivel is fun!*
The moose likes Other Application Frameworks and the fly likes Error using Tiles in Spring 2.5 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 » Other Application Frameworks
Bookmark "Error using Tiles in Spring 2.5" Watch "Error using Tiles in Spring 2.5" New topic

Error using Tiles in Spring 2.5

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1043
When trying to run a tiles application under Spring 2.5, I'm getting a strange error:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tilesConfigurer' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/digester/Rule

This bean is defined in the dispatcher-servlet.xml like this:

<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2.TilesConfigurer" p:definitions="/WEB-INF/tiles-defs.xml" />


There seems to be some problems reported with this class, but nothing that fixes the problem for me.

I'd appreciate any suggestions.



David Newton

Joined: Sep 29, 2008
Posts: 12617

Are you deploying the commons-digester library (and any dependencies it requires)?
Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1043
I'll check this, thanks!

-- Mike
subject: Error using Tiles in Spring 2.5
Similar Threads
tiles and spring 2.5 integration problem
Spring 3.0.0.Release + tiles 2 integration
Tiles 2.2.1 with spring framework 3.0.2
spring 3 and tiles 2.2.1 integration not working for me
Problem in integrating apache tiles with Spring 3.0