{"action":"opened","issue":{"url":"https://api.github.com/repos/grails/grails-core/issues/9058","labels_url":"https://api.github.com/repos/grails/grails-core/issues/9058/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-core/issues/9058/comments","events_url":"https://api.github.com/repos/grails/grails-core/issues/9058/events","html_url":"https://github.com/grails/grails-core/issues/9058","id":91501612,"number":9058,"title":"Exception in starting up grails 3.0.2 if url mapping or rest resource uri has / missing in the beginning","user":{"login":"anshbansal","id":4127841,"avatar_url":"https://avatars.githubusercontent.com/u/4127841?v=3","gravatar_id":"","url":"https://api.github.com/users/anshbansal","html_url":"https://github.com/anshbansal","followers_url":"https://api.github.com/users/anshbansal/followers","following_url":"https://api.github.com/users/anshbansal/following{/other_user}","gists_url":"https://api.github.com/users/anshbansal/gists{/gist_id}","starred_url":"https://api.github.com/users/anshbansal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anshbansal/subscriptions","organizations_url":"https://api.github.com/users/anshbansal/orgs","repos_url":"https://api.github.com/users/anshbansal/repos","events_url":"https://api.github.com/users/anshbansal/events{/privacy}","received_events_url":"https://api.github.com/users/anshbansal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-27T18:45:53Z","updated_at":"2015-06-27T18:45:53Z","closed_at":null,"body":"Today I was working with REST controllers and faced some exceptions in running the applications. Below is stacktrace. After asking around someone noticed that I had  `\"api\"(resources: 'todos')` instead of  ` \"/api\"(resources: 'todos')` in my URL Mappings. Similarly if the `Resource` annotation's `uri` is missing `\\` in the starting then also exceptions are thrown.\r\n\r\nIs it possible to change the error message? Currently it is very vague. I know the mistake so I won't repeat it (hopefully) but a better error message can help others in future.\r\n\r\n```\r\naseem@aseemHost:~/projects/practice/aseemTodo$ gradle run\r\n:compileJava UP-TO-DATE\r\n:compileGroovy\r\n:processResources\r\n:classes\r\n:findMainClass\r\n:run\r\nERROR grails.boot.GrailsApp - Application startup failed\r\nException in thread \"main\" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.anshbansal.todo.domain.MyTodoController': Invocation of init method failed; nested exception is groovy.lang.MissingMethodException: No signature of method: com.anshbansal.todo.domain.MyTodoController.todos() is applicable for argument types: (java.util.LinkedHashMap) values: [[resources:myTodo]]\r\nPossible solutions: edit(), index(), show(), notify(), index(java.lang.Integer), is(java.lang.Object)\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.sprework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.2.4.RELEASE.jar:1.2.4.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) ~[spring-boot-1.2.4.RELEASE.jar:1.2.4.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:320) ~[spring-boot-1.2.4.RELEASE.jar:1.2.4.RELEASE]\r\n\tat grails.boot.GrailsApp.run(GrailsApp.groovy:49) [grails-core-3.0.2.jar:3.0.2]\r\n\tat grails.boot.GrailsApp.run(GrailsApp.groovy:280) [grails-core-3.0.2.jar:3.0.2]\r\n\tat grails.boot.GrailsApp.run(GrailsApp.groovy:269) [grails-core-3.0.2.jar:3.0.2]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75]\r\norg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.anshbansal.todo.domain.MyTodoController': Invocation of init method failed; nested exception is groovy.lang.MissingMethodException: No signature of method: com.anshbansal.todo.domain.MyTodoController.todos() is applicable for argument types: (java.util.LinkedHashMap) values: [[resources:myTodo]]\r\n\tat java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75]\r\nPossible solutions: edit(), index(), show(), notify(), index(java.lang.Integer), is(java.lang.Object)\tat org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270) [springloaded-1.2.3.RELEASE.jar:1.2.3.RELEASE]\r\n\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)\r\n\tat org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) [groovy-2.4.3.jar:2.4.3]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)\r\n\tat groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) [groovy-2.4.3.jar:2.4.3]\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)\r\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)\r\n\tat org.codehaus.at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)\r\n.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:43) [groovy-2.4.3.jar:2.4.3]\r\n\tat grails.boot.GrailsApp.run(GrailsApp.groovy:49)\r\n\tat org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.call(StaticMetaMethodSite.java:88) [groovy-2.4.3.jar:2.4.3]\r\n\tat grails.boot.GrailsApp.run(GrailsApp.groovy:280)\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) [groovy-2.4.3.jar:2.4.3]\r\n\tat grails.boot.GrailsApp.run(GrailsApp.groovy:269)\r\n\tat sun.refleceMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270)\r\n\tat org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)\r\n\tat groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)\r\n\tat org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:43)\r\n\tat org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.call(StaticMetaMethodSite.java:88)\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122)\r\n\tat aseemtodo.Application.main(Application.groovy:8)\r\nCaused by: groovy.lang.MissingMethodException: No signature of method: com.anshbansal.todo.domain.MyTodoController.todos() is applicable for argument types: (java.util.LinkedHashMap) values: [[resources:myTodo]]\r\nPossible solutions: edit(), index(), show(), notify(), index(java.lang.Integer), is(java.lang.Object)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110) [groovy-2.4.3.jar:2.4.3]\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122) [groovy-2.4.3.jar:2.4.3]\r\n\tat aseemtodo.Application.main(Application.groovy:8) [main/:na]\r\nCaused by: groovy.lang.MissingMethodException: No signature of method: com.anshbansal.todo.domain.MyTodoController.todos() is applicable for argument types: (java.util.LinkedHashMap) values: [[resources:myTodo]]\r\nPossible solutions: edit(), index(), show(), notify(), index(java.lang.Integer), is(java.lang.Object)\r\n\tat grails.artefact.gsp.TagLibraryInvoker$Trait$Helper.methodMissing(TagLibraryInvoker.groovy:90) ~[grails-web-taglib-3.0.2.jar:3.0.2]\r\n\tat grails.artefact.gsp.TagLibraryInvoker$Trait$Helper$methodMissing$1.call(Unknown Source) ~[na:na]\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) [groovy-2.4.3.jar:2.4.3]\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110) [groovy-2.4.3.jar:2.4.3]\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:138) [groovy-2.4.3.jar:2.4.3]\r\n\tat com.anshbansal.todo.domain.MyTodoController.$tt__methodMissing(MyTodo.groovy) ~[main/:na]\r\n\tat com.anshbansal.todo.domain.MyTodoController$_methodMissing_closure49.doCall(MyTodo.groovy) ~[main/:na]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75]\r\n\tat java.lang.reflect.Method.invhod.java:606) ~[na:1.7.0_75]\r\n\tat org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270) [springloaded-1.2.3.RELEASE.jar:1.2.3.RELEASE]\r\n\tat org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) [groovy-2.4.3.jar:2.4.3]\r\n\tat groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) [groovy-2.4.3.jar:2.4.3]\r\n\tat org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat groovy.lang.Closure.call(Closure.java:423) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat com.anshbansal.todo.domain.MyTodoController$_methodMissing_closure49.call(MyTodo.groovy) ~[main/:na]\r\n\tat groovy.lang.Closure.call(Closure.java:439) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat com.anshbansal.todo.domain.MyTodoController$_methodMissing_closure49.call(MyTodo.groovy) ~[main/:na]\r\n\tat grails.transaction.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:93) ~[grails-core-3.0.2.jar:3.0.2]\r\n\tat grails.artefact.gsp.TagLibraryInvoker$Trait$Helper.methodMissing(TagLibraryInvoker.groovy:90)\r\n\tat grails.artefact.gsp.TagLibraryInvoker$Trait$Helper$methodMissing$1.call(Unknown Source)\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:138)\r\n\tat com.anshbansal.todo.domain.MyTodoController.$tt__methodMissing(MyTodo.groovy)\r\n\tat com.anshbansal.todo.domain.MyTodoController$_methodMissing_closure49.doCall(MyTodo.groovy)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270)\r\n\tat org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)\r\n\tat org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) ~[spring-tx-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:90) ~[grails-core-3.0.2.jar:3.0.2]\r\n\tat com.anshbansal.todo.domain.MyTodoController.methodMissing(MyTodo.groovy) ~[main/:na]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75]\r\n\tat java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75]\r\n\tat org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270) [springloaded-1.2.3.RELEASE.jar:1.2.3.RELEASE]\r\n\tat org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) [groovy-2.4.3.jar:2.4.3]\r\n\tay.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:933) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1256) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1209) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1121) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat grails.rest.RestfulController.invokeMethod(RestfulController.groovy) ~[grails-plugin-rest-3.0.2.jar:3.0.2]\r\n\tat com.anshbansal.todo.domain.MyTodoController.invokeMethod(MyTodo.groovy) ~[main/:na]\r\n\tat org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:444) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:369) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)\r\n\tat org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)\r\n\tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)\r\n\tat groovy.lang.Closure.call(Closure.java:423)\r\n\tat com.anshbansal.todo.domain.MyTodoController$_methodMissing_closure49.call(MyTodo.groovy)\r\n\tat groovy.lang.Closure.call(Closure.java:439)\r\n\tat com.anshbansal.todo.domain.MyTodoController$_methodMissing_closure49.call(MyTodo.groovy)\r\n\tat grails.transaction.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:93)\r\n\tat org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)\r\n\tat grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:90)\r\n\tat com.anshbansal.todo.domain.MyTodoController.methodMissing(MyTodo.groovy)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270)\r\n\tat org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)\r\n\tat groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:933)\r\n\tat groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1256)\r\n\tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1209)\r\n\tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49) [groovy-2.4.3.jar:2.4.3]\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151) [groovy-2.4.3.jar:2.4.3]\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:163) [groovy-2.4.3.jar:2.4.3]\r\n\tat com.anshbansal.todo.domain.MyTodoController$_initializeUrlMappings_closure55.doCall(MyTodo.groovy) ~[main/:na]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75]\r\n\tat java.lang.reflect.invoke(Method.java:606) ~[na:1.7.0_75]\r\n\tat org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270) [springloaded-1.2.3.RELEASE.jar:1.2.3.RELEASE]\r\n\tat org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) [groovy-2.4.3.jar:2.4.3]\r\n\tat groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) [groovy-2.4.3.jar:2.4.3]\r\n\tat groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1121 at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292) ~[groovy-2.4.3.jar:2.4.3]\r\n)\r\n\tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)\r\n\tat groovy.lang.Closure.call(Closure.java:423) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:807)\r\n\tat com.anshbansal.todo.domain.MyTodoController$_initializeUrlMappings_closure55.call(MyTodo.groovy) ~[main/:na]\r\n\tat grails.rest.RestfulController.invokeMethod(RestfulController.groovy)\r\n\tat groovy.lang.Closure.call(Closure.java:417) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat com.anshbansal.todo.domain.MyTodoController.invokeMethod(MyTodo.groovy)\r\n\tat com.anshbansal.todo.domain.MyTodoController$_initializeUrlMappings_closure55.call(MyTodo.groovy) ~[main/:na]\r\n\tat org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:444)\r\n\tat org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:369)\r\n\tat org.grails.web.mapping.DefaultUrlMappingEvaluator.evaluateMappings(DefaultUrlMappingEvaluator.java:166) ~[grails-web-url-mappings-3.0.2.jar:3.0.2]\r\n\tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)\r\n\tat org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:163)\r\n\tat com.anshbansal.todo.domain.MyTodoController$_initializeUrlMappings_closure55.doCall(MyTodo.groovy)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat org.grails.web.mapping.DefaultUrlMappingsHolder.addMappings(DefaultUrlMappingsHolder.java:117) ~[grails-web-url-mappings-3.0.2.jar:3.0.2]\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.grails.web.mapping.mvc.AbstractGrailsControllerUrlMappings.addMappings(AbstractGrailsControllerUrlMappings.groovy:57) ~[grails-web-url-mappings-3.0.2.jar:3.0.2]\r\n\tat org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75]\r\n\tat org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75]\r\n\tat groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75]\r\n\tat org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75]\r\n\tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)\r\n\tat org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270) [springloaded-1.2.3.RELEASE.jar:1.2.3.RELEASE]\r\n\tat groovy.lang.Closure.call(Closure.java:423)\r\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.6at com.anshbansal.todo.domain.MyTodoController$_initializeUrlMappings_closure55.call(MyTodo.groovy)\r\nSE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat com.sun.proxy.$Proxy66.addMappings(Unknown Source) ~[na:na]\r\n\tat groovy.lang.Closure.call(Closure.java:417)\r\n\tat com.anshbansal.todo.domain.MyTodoController.initializeUrlMappings(MyTodo.groovy) ~[main/:na]\r\n\tat com.anshbansal.todo.domain.MyTodoController$_initializeUrlMappings_closure55.call(MyTodo.grooat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75]\r\ny)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75]\r\n\tat org.grails.web.mapping.DefaultUrlMappingEvaluator.evaluateMappings(DefaultUrlMappingEvaluator.java:166)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75]\r\n\tat org.grails.web.mapping.DefaultUrlMappingsHolder.addMappings(DefaultUrlMappingsHolder.java:117)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75]\r\n\tat org.grails.web.mapping.mvc.AbstractGrailsControllerUrlMappings.addMappings(AbstractGrailsControllerUrlMappings.groovy:57)\r\n\tat org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270) [springloaded-1.2.3.RELEASE.jar:1.2.3.RELEASE]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\t... 30 common frames omitted\r\n\tat org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270)\r\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)\r\n\tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)\r\n\tat com.sun.proxy.$Proxy66.addMappings(Unknown Source)\r\n\tat com.anshbansal.todo.domain.MyTodoController.initializeUrlMappings(MyTodo.groovy)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270)\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300)\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)\r\n\t... 30 more\r\n:run FAILED\r\n```"}}