aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Reply Bookmark "Error using Tiles in Spring 2.5" Watch "Error using Tiles in Spring 2.5" New topic
Author

Error using Tiles in Spring 2.5

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 949
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.

Thanks.

Mike


David Newton
Author
Rancher

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: 949
I'll check this, thanks!

-- Mike
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Error using Tiles in Spring 2.5
 
Similar Threads
Spring 3.0.0.Release + tiles 2 integration
Tiles 2.2.1 with spring framework 3.0.2
tiles and spring 2.5 integration problem
Problem in integrating apache tiles with Spring 3.0
spring 3 and tiles 2.2.1 integration not working for me