Announcement Announcement Module
Collapse
No announcement yet.
[app-engine] Error app-engine plugin and spring web flow Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • [app-engine] Error app-engine plugin and spring web flow

    Hello all,

    I'm working with Grails 1.3.4 and I've developed an application with Google App Engine plugin, and this application works with Spring Web Flow. When I launch "grails run-app" I get the following error:


    [java] WARNING: Nested in org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'flowExecutionSnapshotFactory': Cannot resolve reference to bean 'flowRegistry' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'flowRegistry': Cannot resolve reference to bean 'flowBuilderServices' while setting bean property 'flowBuilderServices'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'flowBuilderServices': Cannot create inner bean '(inner bean)' of type [org.springframework.webflow.expression.DefaultExpr essionParserFactory] while setting bean property 'expressionParser'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name '(inner bean)#1': Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionSt oreException: Factory method [private static synchronized org.springframework.binding.expression.ExpressionP arser org.springframework.webflow.expression.DefaultExpr essionParserFactory.getDefaultExpressionParser()] threw exception; nested exception is java.lang.IllegalStateException: Unable to create the default expression parser for Spring Web Flow: Neither a Unified EL implementation or OGNL could be found.:
    [java] java.lang.ClassNotFoundException: javassist.ClassPath
    [java] at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
    [java] at com.google.appengine.tools.development.IsolatedApp ClassLoader.loadClass(IsolatedAppClassLoader.java: 151)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:2 48)
    [java] at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:155)
    [java] at org.springframework.binding.expression.ognl.OgnlEx pressionParser.addPropertyAccessor(OgnlExpressionP arser.java:61)
    [java] at org.springframework.webflow.expression.WebFlowOgnl ExpressionParser.<init>(WebFlowOgnlExpressionParse r.java:48)
    [java] at org.springframework.webflow.expression.DefaultExpr essionParserFactory.createDefaultExpressionParser( DefaultExpressionParserFactory.java:104)
    [java] at org.springframework.webflow.expression.DefaultExpr essionParserFactory.getDefaultExpressionParser(Def aultExpressionParserFactory.java:80)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:597)
    [java] at com.google.appengine.tools.development.agent.runti me.Runtime.invoke(Runtime.java:100)
    [java] at org.springframework.beans.factory.support.SimpleIn stantiationStrategy.instantiate(SimpleInstantiatio nStrategy.java:142)
    [java] at org.springframework.beans.factory.support.Construc torResolver$3.run(ConstructorResolver.java:555)
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at org.springframework.beans.factory.support.Construc torResolver.instantiateUsingFactoryMethod(Construc torResolver.java:553)
    [java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.instantiateUsingFactory Method(AbstractAutowireCapableBeanFactory.java:973 )
    [java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBeanInstance(Abst ractAutowireCapableBeanFactory.java:879)
    [java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:485)
    [java] at org.codehaus.groovy.grails.commons.spring.ReloadAw areAutowireCapableBeanFactory.doCreateBean(ReloadA wareAutowireCapableBeanFactory.java:105)
    [java]
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:456)
    [java] at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveInnerBean(BeanDefinitio nValueResolver.java:270)
    [java] at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:125)
    [java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:1317)
    [java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(AbstractAu towireCapableBeanFactory.java:1076)
    [java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:517)
    [java] at org.codehaus.groovy.grails.commons.spring.ReloadAw areAutowireCapableBeanFactory.doCreateBean(ReloadA wareAutowireCapableBeanFactory.java:105)
    [java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:456)
    [java] at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 91)
    [java] at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:222)
    [java] at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:288 )
    [java] at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:190)
    [java] at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:322)
    [java] at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:106)
    [java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:1317)
    [java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(AbstractAu towireCapableBeanFactory.java:1076)
    [java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:517)
    [java] at org.codehaus.groovy.grails.commons.spring.ReloadAw areAutowireCapableBeanFactory.doCreateBean(ReloadA wareAutowireCapableBeanFactory.java:105)
    [java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:456)
    [java] at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 91)
    [java] at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:222)
    [java] at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:288 )
    [java] at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:190)
    [java] at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:322)
    [java] at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:106)
    [java] at org.springframework.beans.factory.support.Construc torResolver.resolveConstructorArguments(Constructo rResolver.java:621)
    [java] at org.springframework.beans.factory.support.Construc torResolver.autowireConstructor(ConstructorResolve r.java:143)
    [java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.autowireConstructor(Abs tractAutowireCapableBeanFactory.java:993)
    [java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBeanInstance(Abst ractAutowireCapableBeanFactory.java:897)

    ...

    [java] at com.google.appengine.tools.development.JettyContai nerService.startContainer(JettyContainerService.ja va:185)
    [java] at com.google.appengine.tools.development.AbstractCon tainerService.startup(AbstractContainerService.jav a:147)
    [java] at com.google.appengine.tools.development.DevAppServe rImpl.start(DevAppServerImpl.java:219)
    [java] at com.google.appengine.tools.development.DevAppServe rMain$StartAction.apply(DevAppServerMain.java:164)
    [java] at com.google.appengine.tools.util.Parser$ParseResult .applyArgs(Parser.java:48)
    [java] at com.google.appengine.tools.development.DevAppServe rMain.<init>(DevAppServerMain.java:113)
    [java] at com.google.appengine.tools.development.DevAppServe rMain.main(DevAppServerMain.java:89)
    [java] Aug 31, 2010 6:58:09 PM com.google.apphosting.utils.jetty.JettyLogger info
    [java] INFO: Started SelectChannelConnector@localhost:8080
    [java] Aug 31, 2010 6:58:09 PM com.google.appengine.tools.development.DevAppServe rImpl start
    [java] INFO: The server is running at http://localhost:8080/




    It seems that the ognl.jar is not found. Has anybody else experience this problem? Please, could you help me with this issue?

    Best regards,

    Jose Luis Monteagudo
Working...
X