Announcement Announcement Module
No announcement yet.
Spring 3 MVC and Tiles 2.2.2 Integration Error Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring 3 MVC and Tiles 2.2.2 Integration Error

    I get the following error when attempting to integrate Tiles 2.2.2 with Spring 3.0.4 or 5 MVC.

    java.lang.ClassNotFoundException: org.apache.tiles.startup.BasicTilesInitializer

    I am configuring tiles and my view resolver with the following xml configuration:

    <beans:bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2 .TilesConfigurer">
    <beansroperty name="definitions">
    <beansroperty name="preparerFactoryClass"
    value="org.springframework.web.servlet.view.tiles2 .Spring BeanPreparerFactory" />
    <beans:bean id="viewResolver" class="org.springframework.web.servlet.view.UrlBas edViewResolver">
    <beansroperty name="viewClass" value="org.springframework.web.servlet.view.tiles2 .TilesView" />
    <beansroperty name="order" value="2" />

    Any ideas regarding the issue. I already referenced tiles-core*.jar which contains the BasicTilesInitializer which has been deprecated.

  • #2
    I solved my problem by adding the tiles jar files to my web-inf\lib folder