註冊
Login
»
forum
» Spring 3 MVC and Tiles 2.2.2 Integration Error
Back Forum
Reply
New
Post Thread
Post Poll
Post Reward
Post Debate
Post Activity
Post Video
Post Trade
amy
Send PM
Add buddy
amy
Thread
86984
Digest
0
Last Visit
2011-4-15
1
#
Print
Size:
t
T
Post at 2011-4-15 14:34
|
This Author's Posts Only
Spring 3 MVC and Tiles 2.2.2 Integration Error
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:
lt;beans:bean id=quot;tilesConfigurerquot; class=quot;org..web.servlet.view.tiles2 .TilesConfigurerquot;gt;
lt;beans:property name=quot;definitionsquot;gt;
lt;beans:listgt;
lt;beans:valuegt;/WEB-INF/tiles/tiles.xmllt;/beans:valuegt;
lt;/beans:listgt;
lt;/beans:propertygt;
lt;beans:property name=quot;preparerFactoryClassquot;
value=quot;org..web.servlet.view.tiles2 .Spring BeanPreparerFactoryquot; /gt;
lt;/beans:beangt;
lt;beans:bean id=quot;viewResolverquot; class=quot;org..web.servlet.view.uclBas edViewResolverquot;gt;
lt;beans:property name=quot;viewClassquot; value=quot;org..web.servlet.view.tiles2 .TilesViewquot; /gt;
lt;beans:property name=quot;orderquot; value=quot;2quot; /gt;
lt;/beans:beangt;
Any ideas regarding the issue. I already referenced tiles-core*.jar which contains the BasicTilesInitializer which has been deprecated.
I solved my problem by adding the tiles jar files to my web-inf\lib folder
Favor
Share
Rate
Reply
Quote
Subscribe
TOP
¥
Composite unique constraints
AbstractWizardFormController: on click choose whether to finish or not
wrapping threads in transaction
Session-scoped beans
basic jsp validation using spring mvc
Back Forum
Reply
New