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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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
Author

Error using Tiles in Spring 2.5

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1075
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: 1075
I'll check this, thanks!

-- Mike
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error using Tiles in Spring 2.5