scupperscupper / open-ehr-gen-framework

Automatically exported from code.google.com/p/open-ehr-gen-framework
0 stars 0 forks source link

Problem with bootstrap on productio #149

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
2015-07-27 02:00:54,903 ERROR  ContextLoader - Context initialization failed
org.springframework.beans.factory.access.BootstrapException: Error executing 
bootstraps; nested exception is org.codehaus.groovy.runtime.InvokerI
nvocationException: java.lang.NoClassDefFoundError: 
org/springframework/mock/web/MockHttpServletRequest
        at org.codehaus.groovy.grails.web.context.GrailsContextLoader.createWebApplicationContext(GrailsContextLoader.java:90)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:215)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1880)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
java.lang.NoClassDefFoundError: org/springframework/mock/web/MockHttpServletRe
quest
        at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:265)
        at grails.util.Environment.executeForEnvironment(Environment.java:258)
        at grails.util.Environment.executeForCurrentEnvironment(Environment.java:234)
        ... 5 more
Caused by: java.lang.NoClassDefFoundError: 
org/springframework/mock/web/MockHttpServletRequest
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
        at java.lang.Class.getDeclaredMethods(Class.java:1860)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
        at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
        at hce.GrailsTemplateEngineService.renderView(GrailsTemplateEngineService.groovy:57)
        at hce.GrailsTemplateEngineService.renderView(GrailsTemplateEngineService.groovy)
        at hce.GrailsTemplateEngineService$renderView.call(Unknown Source)
        at hce.GuiCachingService.template2String(GuiCachingService.groovy:130)
        at hce.GuiCachingService$_generateGUI_closure1_closure2.doCall(GuiCachingService.groovy:66)
        at hce.GuiCachingService$_generateGUI_closure1.doCall(GuiCachingService.groovy:55)
        at hce.GuiCachingService.generateGUI(GuiCachingService.groovy:41)
        at hce.GuiCachingService$$FastClassByCGLIB$$f9d7b5cd.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
        at hce.GuiCachingService$$EnhancerByCGLIB$$d5c726a4.generateGUI(<generated>)
        at BootStrap$_closure1.doCall(BootStrap.groovy:287)
        ... 8 more
Caused by: java.lang.ClassNotFoundException: 
org.springframework.mock.web.MockHttpServletRequest
        ... 25 more

Original issue reported on code.google.com by pablo.swp@gmail.com on 27 Jul 2015 at 6:02

GoogleCodeExporter commented 8 years ago
Trying https://github.com/robfletcher/grails-gson/issues/38

Original comment by pablo.swp@gmail.com on 27 Jul 2015 at 6:09

GoogleCodeExporter commented 8 years ago
Done.

Original comment by pablo.swp@gmail.com on 27 Jul 2015 at 6:42