Skip to main content

resources.xml is empty when running a Grails application with Metro plugin

2 replies [Last post]
sarbogast
Offline
Joined: 2005-11-04
Points: 0

I have a Grails 1.2.1 application with 2 services that I've annotated with @WebService and @WebMethod annotations. I installed Grails Metro plugin 1.0.2 and I ran my application using grails run-app.
But the application won't start as I get the following exception:

Generating grails-app/conf/spring/resources.xml
2010-03-22 20:29:49,396 [main] ERROR context.ContextLoader - Context initialization failed
org.springframework.beans.factory.access.BootstrapException: Error executing bootstraps; nested exception is org.codehaus.groovy.runtime.InvokerInvocationException: groovy.lang.MissingMethodException: No signature of method: java.util.HashMap.leftShift() is applicable for argument types: (java.util.LinkedHashMap) values: [[wss:http://jax-ws.dev.java.net/spring/servlet]]
at org.codehaus.groovy.grails.web.context.GrailsContextLoader.createWebApplicationContext(GrailsContextLoader.java:74)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
minhaj_kk
Offline
Joined: 2009-03-02
Points: 0

Any update on this issue? I'm also facing same issue with grails 1.3.4 and metro 1.0.2

SearchDome
Offline
Joined: 2011-11-15
Points: 0

Has anyone been able to get grails and metro working? I'm facing the same issue with grails 1.3.4 and metro 1.0.2