• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error using Tiles in Spring 2.5

 
Mike London
Ranch Hand
Posts: 1192
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you deploying the commons-digester library (and any dependencies it requires)?
 
Mike London
Ranch Hand
Posts: 1192
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll check this, thanks!

-- Mike
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic