I've found the solution :
http://tiles.apache.org/2.1/framework/tutorial/advanced/el-support.html

Just get the jasper-el library from Tomcat, add it to your classpath
and it works.
Usually running on Tomcat, I never encountered this error with Tiles.
Now I'm on GAE with Jetty, it popped-up.

Have fun!
--
David, new to GAE & Spring

On 10 fév, 18:29, "David F." <david.friq...@gmail.com> wrote:
> Hi,
>
> I was experiencing the same trouble and your advice solved it. Thank
> you for that.
> But it's not the last problem integrating Spring + Tiles on GAE.
>
> My stacktrace now shows :
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'tilesConfigurer' defined in ServletContext
> resource [/WEB-INF/DispatcherServlet-servlet.xml]: Invocation of init
> method failed; nested exception is java.lang.NoClassDefFoundError: org/
> apache/el/ExpressionFactoryImpl
>           at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor 
> y.initializeBean(AbstractAutowireCapableBeanFactory.java:
> 1401)
>           at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor 
> y.doCreateBean(AbstractAutowireCapableBeanFactory.java:
> 512)
> ...
>
> All my googling revealed that this class is heavily related to Apache
> Tomcat but GAE is running on Jetty if I'm not mistaken. Is there any
> workaround?
>
> Thanks.
> --
> David, new to GAE & Spring
>
> On 10 fév, 02:00, vladjan <vlad...@gmail.com> wrote:
>
>
>
> > Hi,
> > try usingtiles-2.1.2
>
> > Best regards,
> > Vladislav
>
> > On Feb 8, 12:52 pm, Arun Shanker Prasad <arunshankerpra...@gmail.com>
> > wrote:
>
> > > Hi All,
>
> > > Any suggestions/thoughts/ideas? Stuck at this now..
>
> > > Thanks,
> > > Arun Shanker Prasad.
>
> > > On Feb 4, 4:23 pm, Arun Shanker Prasad <arunshankerpra...@gmail.com>
> > > wrote:
>
> > > > Hi All,
>
> > > > I was trying to create a samplespringapplication withSpring3.0
> > > > (RELEASE) &Tiles2.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
> > > >Springform tag to work, but that was for 2.5, anyone else tried
> > > >Spring3.0? What more problems can I get? I am at the initial phase of
> > > > planning for my project and just thought to giveSpring3.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
> > > > org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkS
> > > >  ervlet.java:
> > > > 307)
> > > >         at
> > > > org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:
> > > > 127)
> > > >         at javax.servlet.GenericServlet.init(GenericServlet.java:215)
> > > >         at
> > > > org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:
> > > > 433)
> > > >         at 
> > > > org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
> > > > 256)
> > > >         at
> > > > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
> > > > 40)
> > > >         at
> > > > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:
> > > > 612)
> > > >         at 
> > > > org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
> > > >         at
> > > > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
> > > > 1218)
> > > >         at
> > > > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
> > > > 500)
> > > >         at 
> > > > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
> > > > 448)
> > > >         at
> > > > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
> > > > 40)
> > > >         at
> > > > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
> > > > 117)
> > > >         at
> > > > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
> > > > 40)
> > > >         at
> > > > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
> > > > 117)
> > > >         at org.mortbay.jetty.Server.doStart(Server.java:217)
> > > >         at
> > > > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
> > > > 40)
> > > >         at
> > > > com.google.appengine.tools.development.JettyContainerService.startContainer
> > > >  (JettyContainerService.java:
> > > > 188)
> > > >         at
> > > > com.google.appengine.tools.development.AbstractContainerService.startup(Abs
> > > >  tractContainerService.java:
> > > > 120)
> > > >         at
> > > > com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerI
> > > >  mpl.java:
> > > > 217)
> > > >         at com.google.appengine.tools.development.DevAppServerMain
> > > > $StartAction.apply(DevAppServerMain.java:162)
> > > >         at com.google.appengine.tools.util.Parser
> > > > $ParseResult.applyArgs(Parser.java:48)
> > > >         at
> > > > com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServer
> > > >  Main.java:
> > > > 113)
> > > >         at
> > > > com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMa
> > > >  in.java:
> > > > 89)
>
> > > > Thanks,
> > > > Arun Shanker Prasad.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to