Announcement Announcement Module
Collapse
No announcement yet.
Spring 3 MVC and Tiles 2.2.2 Integration Error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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">
    <beans:list>
    <beans:value>/WEB-INF/tiles/tiles.xml</beans:value>
    </beans:list>
    </beansroperty>
    <beansroperty name="preparerFactoryClass"
    value="org.springframework.web.servlet.view.tiles2 .Spring BeanPreparerFactory" />
    </beans:bean>
    <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" />
    </beans:bean>

    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

    Comment

    Working...
    X