Hi All,
Any suggestions/thoughts/ideas? Stuck at this now..
Thanks,
Arun Shanker Prasad.
On Feb 4, 4:23 pm, Arun Shanker Prasad
wrote:
> Hi All,
>
> I was trying to create a sample spring application with Spring 3.0
> (RELEASE) & Tiles 2.1.4, but I am getting the following error when I
> start up the dev server. Has anyone else come across this? Any work
> around?
>
> I had read in the forum about modifying some classes got get the
> Spring form tag to work, but that was for 2.5, anyone else tried
> Spring 3.0? What more problems can I get? I am at the initial phase of
> planning for my project and just thought to give Spring 3.0 a try
> since I don't want to learn 2.5 if 3.0 is already there ;)
>
> WARNING: Nested in
> 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.AbstractMethodError:
> javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/
> ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;:
> java.lang.AbstractMethodError:
> javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/
> ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
> at
> org.apache.tiles.jsp.evaluator.el.JspExpressionFactoryFactory.getExpression
> Factory(JspExpressionFactoryFactory.java:
> 62)
> at
> org.apache.tiles.evaluator.el.ELAttributeEvaluator.init(ELAttributeEvaluato
> r.java:
> 111)
> at
> org.apache.tiles.factory.TilesContainerFactory.storeContainerDependencies(T
> ilesContainerFactory.java:
> 447)
> at
> org.apache.tiles.factory.TilesContainerFactory.initializeContainer(TilesCon
> tainerFactory.java:
> 368)
> at
> org.apache.tiles.factory.TilesContainerFactory.createTilesContainer(TilesCo
> ntainerFactory.java:
> 287)
> at
> org.apache.tiles.factory.TilesContainerFactory.createContainer(TilesContain
> erFactory.java:
> 231)
> at
> org.apache.tiles.startup.BasicTilesInitializer.createContainer(BasicTilesIn
> itializer.java:
> 117)
> at
> org.apache.tiles.startup.BasicTilesInitializer.initialize(BasicTilesInitial
> izer.java:
> 53)
> at
> org.springframework.web.servlet.view.tiles2.TilesConfigurer.afterProperties
> Set(TilesConfigurer.java:
> 203)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor y
> $5.run(AbstractAutowireCapableBeanFactory.java:1451)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor
> y.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:
> 1449)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor
> y.initializeBean(AbstractAutowireCapableBeanFactory.java:
> 1398)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor
> y.doCreateBean(AbstractAutowireCapableBeanFactory.java:
> 512)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor
> y.createBean(AbstractAutowireCapableBeanFactory.java:
> 450)
> at org.springframework.beans.factory.support.AbstractBeanFactory
> $1.getObject(AbstractBeanFactory.java:290)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getS
> ingleton(DefaultSingletonBeanRegistry.java:
> 222)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abs
> tractBeanFactory.java:
> 287)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstr
> actBeanFactory.java:
> 189)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preIns
> tantiateSingletons(DefaultListableBeanFactory.java:
> 557)
> at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFa
> ctoryInitialization(AbstractApplicationContext.java:
> 842)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(Abst
> ractApplicationContext.java:
> 416)
> at
> org.springframework.web.servlet.FrameworkServlet.createWebApplicationContex
> t(FrameworkServlet.java:
> 443)
> at
> org.springframework.web.servlet.FrameworkServlet.createWebApplicationContex
> t(FrameworkServlet.java:
> 459)
> at
> org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(
> FrameworkServlet.java:
> 340)
> at
>