Virgo and Grails 1.3.7 MissingPropertyException [message #748224] |
Mon, 24 October 2011 15:14 |
Tony Day Messages: 9 Registered: October 2011 |
Junior Member |
|
|
Hi,
Still working away at this Grails web-app (Sorry Glynn!)
My web-app is now failing on the following exception:
Context initialization failed org.springframework.beans.factory.access.BootstrapException: Error executing bootstraps; nested exception is groovy.lang.MissingPropertyException: No such property: context for class: org.codehaus.groovy.grails.plugins.CoreGrailsPlugin
From the full error:
System.err 24-Oct-2011 15:57:49 org.apache.catalina.core.ApplicationContext log
System.err INFO: Initializing Spring root WebApplicationContext
org.springframework.web.context.ContextLoader Root WebApplicationContext: initialization started
o.eclipse.virgo.web.dm.ServerOsgiBundleXmlWebApplicationContext Refreshing ServerOsgiBundleXmlWebApplicationContext(bundle=com.acme.grailshello, config=/WEB-INF/applicationContext.xml): startup date [Mon Oct 24 15:57:49 BST 2011]; root of context hierarchy
o.eclipse.virgo.web.dm.ServerOsgiBundleXmlWebApplicationContext Application Context service already unpublished
org.springframework.beans.factory.xml.XmlBeanDefinitionReader Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
o.e.virgo.kernel.dmfragment.internal.LoadTimeWeaverPostProcessor Load-time weaving not enabled for bundle 'com.acme.grailshello_0.1.0 [139]',
o.e.virgo.kernel.dmfragment.internal.MBeanExporterPostProcessor MBean exporting not enabled for bundle 'com.acme.grailshello_0.1.0 [139]',
o.s.beans.factory.support.DefaultListableBeanFactory Pre-instantiating singletons in [email]org.springframework.beans.factory.support.DefaultListableBeanFactory@7f374c[/email]: defining beans [grailsApplication,pluginManager,grailsConfigurator,grailsResourceLoader,grailsResourceHolder,characterEncodingFilter]; root of factory hierarchy
o.eclipse.virgo.web.dm.ServerOsgiBundleXmlWebApplicationContext Publishing application context as OSGi service with properties {org.springframework.context.service.name=com.acme.grailshello, Bundle-SymbolicName=com.acme.grailshello, Bundle-Version=0.1.0}
org.osgi.service.log.LogService Bundle com.acme.grailshello_0.1.0, Service 272, ServiceEvent REGISTERED
org.springframework.web.context.ContextLoader Context initialization failed org.springframework.beans.factory.access.BootstrapException: Error executing bootstraps; nested exception is groovy.lang.MissingPropertyException: No such property: context for class: org.codehaus.groovy.grails.plugins.CoreGrailsPlugin
at org.codehaus.groovy.grails.web.context.GrailsContextLoader.createWebApplicationContext(GrailsContextLoader.java:87)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
I'm struggling to source this but something tells me there could be an inconsistency between the Spring bundles in use with Virgo 3.0.1.RELEASE and what Grails is looking for. If anyone has seen this before or recognises where the issue may be I shall investigate further.
Thanks
[Updated on: Mon, 24 October 2011 15:14] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02162 seconds