Grails 2.0 - Terracotta 3.6 - java.lang.ClassNotFoundException: com.springsource.loaded.ri.ReflectiveInterceptor

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Grails 2.0 - Terracotta 3.6 - java.lang.ClassNotFoundException: com.springsource.loaded.ri.ReflectiveInterceptor

Martin Saucier-2
Hi,
   I have a weird problem with a Grails 2.0 app and Terracotta 3.6 server. If I run my grails application using run-app within STS 2.9, I get the following exception at runtime (see below). However, if I setup a SpringSource tc Server within STS and run my grails application within it (meaning it creates and deploy a .war file) everything works fine.

Any idea what would cause the app to failed at runtime within the IDE ?  I did verify the the terracotta-toolkit jar is in the classpath, I do not think this is the issue.


Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Could not create ClusteredInstanceFactory due to missing class. Please verify that terracotta-toolkit is in your classpath.
at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:89)
... 5 more
Caused by: net.sf.ehcache.CacheException: Could not create ClusteredInstanceFactory due to missing class. Please verify that terracotta-toolkit is in your classpath.
at net.sf.ehcache.terracotta.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:182)
at net.sf.ehcache.terracotta.TerracottaClient.createNewClusteredInstanceFactory(TerracottaClient.java:198)
at net.sf.ehcache.terracotta.TerracottaClient.createClusteredInstanceFactory(TerracottaClient.java:150)
at net.sf.ehcache.CacheManager.doInit(CacheManager.java:396)
at net.sf.ehcache.CacheManager.init(CacheManager.java:352)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:237)
at net.sf.ehcache.CacheManager.create(CacheManager.java:856)
at net.sf.ehcache.CacheManager.create(CacheManager.java:831)
at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:70)
... 5 more
Caused by: java.lang.ClassNotFoundException: com.springsource.loaded.ri.ReflectiveInterceptor
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at com.terracotta.express.L1Loader.findClass(L1Loader.java:32)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at com.tc.properties.TCPropertiesImpl.newLoggingProxy(TCPropertiesImpl.java:306)
at com.tc.properties.TCPropertiesImpl.<clinit>(TCPropertiesImpl.java:36)
at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.<clinit>(StandardXMLFileConfigurationCreator.java:54)
at com.terracotta.express.StandaloneL1Boot.resolveEmbedded(StandaloneL1Boot.java:173)
at com.terracotta.express.StandaloneL1Boot.resolveConfig(StandaloneL1Boot.java:122)
at com.terracotta.express.StandaloneL1Boot.createConfigFile(StandaloneL1Boot.java:85)
at com.terracotta.express.StandaloneL1Boot.call(StandaloneL1Boot.java:188)
at com.terracotta.express.ClientImpl.<init>(ClientImpl.java:315)
at com.terracotta.express.ClientFactoryImpl.newClient(ClientFactoryImpl.java:238)
at com.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:231)
at com.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:218)
at com.terracotta.express.ClientFactoryImpl.getOrCreateClient(ClientFactoryImpl.java:196)
at org.terracotta.express.ClientFactory.getOrCreateClient(ClientFactory.java:30)
at net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.<init>(StandaloneTerracottaClusteredInstanceFactory.java:37)
at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:92)
at net.sf.ehcache.terracotta.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:178)
... 13 more

Martin Saucier
Solutions Architect
t 506.874.8906

 



Reply | Threaded
Open this post in threaded view
|

Re: Grails 2.0 - Terracotta 3.6 - java.lang.ClassNotFoundException: com.springsource.loaded.ri.ReflectiveInterceptor

Graeme Rocher
Administrator
This is the reloading agent getting in the way. Using:

grails -noreloading run-app

Would probably work as well

Cheers

On Mon, Jan 23, 2012 at 2:06 PM, Martin Saucier <[hidden email]> wrote:
Hi,
   I have a weird problem with a Grails 2.0 app and Terracotta 3.6 server. If I run my grails application using run-app within STS 2.9, I get the following exception at runtime (see below). However, if I setup a SpringSource tc Server within STS and run my grails application within it (meaning it creates and deploy a .war file) everything works fine.

Any idea what would cause the app to failed at runtime within the IDE ?  I did verify the the terracotta-toolkit jar is in the classpath, I do not think this is the issue.


Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Could not create ClusteredInstanceFactory due to missing class. Please verify that terracotta-toolkit is in your classpath.
at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:89)
... 5 more
Caused by: net.sf.ehcache.CacheException: Could not create ClusteredInstanceFactory due to missing class. Please verify that terracotta-toolkit is in your classpath.
at net.sf.ehcache.terracotta.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:182)
at net.sf.ehcache.terracotta.TerracottaClient.createNewClusteredInstanceFactory(TerracottaClient.java:198)
at net.sf.ehcache.terracotta.TerracottaClient.createClusteredInstanceFactory(TerracottaClient.java:150)
at net.sf.ehcache.CacheManager.doInit(CacheManager.java:396)
at net.sf.ehcache.CacheManager.init(CacheManager.java:352)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:237)
at net.sf.ehcache.CacheManager.create(CacheManager.java:856)
at net.sf.ehcache.CacheManager.create(CacheManager.java:831)
at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:70)
... 5 more
Caused by: java.lang.ClassNotFoundException: com.springsource.loaded.ri.ReflectiveInterceptor
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at com.terracotta.express.L1Loader.findClass(L1Loader.java:32)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at com.tc.properties.TCPropertiesImpl.newLoggingProxy(TCPropertiesImpl.java:306)
at com.tc.properties.TCPropertiesImpl.<clinit>(TCPropertiesImpl.java:36)
at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.<clinit>(StandardXMLFileConfigurationCreator.java:54)
at com.terracotta.express.StandaloneL1Boot.resolveEmbedded(StandaloneL1Boot.java:173)
at com.terracotta.express.StandaloneL1Boot.resolveConfig(StandaloneL1Boot.java:122)
at com.terracotta.express.StandaloneL1Boot.createConfigFile(StandaloneL1Boot.java:85)
at com.terracotta.express.StandaloneL1Boot.call(StandaloneL1Boot.java:188)
at com.terracotta.express.ClientImpl.<init>(ClientImpl.java:315)
at com.terracotta.express.ClientFactoryImpl.newClient(ClientFactoryImpl.java:238)
at com.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:231)
at com.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:218)
at com.terracotta.express.ClientFactoryImpl.getOrCreateClient(ClientFactoryImpl.java:196)
at org.terracotta.express.ClientFactory.getOrCreateClient(ClientFactory.java:30)
at net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.<init>(StandaloneTerracottaClusteredInstanceFactory.java:37)
at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:92)
at net.sf.ehcache.terracotta.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:178)
... 13 more

Martin Saucier
Solutions Architect
t <a href="tel:506.874.8906" value="+15068748906" target="_blank">506.874.8906

 






--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com
Reply | Threaded
Open this post in threaded view
|

Re: Grails 2.0 - Terracotta 3.6 - java.lang.ClassNotFoundException: com.springsource.loaded.ri.ReflectiveInterceptor

Martin Saucier-2
Thanks Graeme, it worked. Can you explain to me what is that reloading agent used for and what it's doing ?

Regards,

Martin 

On 2012-01-23, at 5:49 PM, Graeme Rocher wrote:

This is the reloading agent getting in the way. Using:

grails -noreloading run-app

Would probably work as well

Cheers

On Mon, Jan 23, 2012 at 2:06 PM, Martin Saucier <[hidden email]> wrote:
Hi,
   I have a weird problem with a Grails 2.0 app and Terracotta 3.6 server. If I run my grails application using run-app within STS 2.9, I get the following exception at runtime (see below). However, if I setup a SpringSource tc Server within STS and run my grails application within it (meaning it creates and deploy a .war file) everything works fine.

Any idea what would cause the app to failed at runtime within the IDE ?  I did verify the the terracotta-toolkit jar is in the classpath, I do not think this is the issue.


Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Could not create ClusteredInstanceFactory due to missing class. Please verify that terracotta-toolkit is in your classpath.
at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:89)
... 5 more
Caused by: net.sf.ehcache.CacheException: Could not create ClusteredInstanceFactory due to missing class. Please verify that terracotta-toolkit is in your classpath.
at net.sf.ehcache.terracotta.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:182)
at net.sf.ehcache.terracotta.TerracottaClient.createNewClusteredInstanceFactory(TerracottaClient.java:198)
at net.sf.ehcache.terracotta.TerracottaClient.createClusteredInstanceFactory(TerracottaClient.java:150)
at net.sf.ehcache.CacheManager.doInit(CacheManager.java:396)
at net.sf.ehcache.CacheManager.init(CacheManager.java:352)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:237)
at net.sf.ehcache.CacheManager.create(CacheManager.java:856)
at net.sf.ehcache.CacheManager.create(CacheManager.java:831)
at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:70)
... 5 more
Caused by: java.lang.ClassNotFoundException: com.springsource.loaded.ri.ReflectiveInterceptor
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at com.terracotta.express.L1Loader.findClass(L1Loader.java:32)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at com.tc.properties.TCPropertiesImpl.newLoggingProxy(TCPropertiesImpl.java:306)
at com.tc.properties.TCPropertiesImpl.<clinit>(TCPropertiesImpl.java:36)
at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.<clinit>(StandardXMLFileConfigurationCreator.java:54)
at com.terracotta.express.StandaloneL1Boot.resolveEmbedded(StandaloneL1Boot.java:173)
at com.terracotta.express.StandaloneL1Boot.resolveConfig(StandaloneL1Boot.java:122)
at com.terracotta.express.StandaloneL1Boot.createConfigFile(StandaloneL1Boot.java:85)
at com.terracotta.express.StandaloneL1Boot.call(StandaloneL1Boot.java:188)
at com.terracotta.express.ClientImpl.<init>(ClientImpl.java:315)
at com.terracotta.express.ClientFactoryImpl.newClient(ClientFactoryImpl.java:238)
at com.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:231)
at com.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:218)
at com.terracotta.express.ClientFactoryImpl.getOrCreateClient(ClientFactoryImpl.java:196)
at org.terracotta.express.ClientFactory.getOrCreateClient(ClientFactory.java:30)
at net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.<init>(StandaloneTerracottaClusteredInstanceFactory.java:37)
at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:92)
at net.sf.ehcache.terracotta.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:178)
... 13 more

Martin Saucier
Solutions Architect
t <a href="tel:506.874.8906" value="+15068748906" target="_blank">506.874.8906

 


<image001.gif>




--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

Martin Saucier
Solutions Architect
t 506.874.8906

 



Reply | Threaded
Open this post in threaded view
|

Re: Grails 2.0 - Terracotta 3.6 - java.lang.ClassNotFoundException: com.springsource.loaded.ri.ReflectiveInterceptor

Graeme Rocher
Administrator
It is used to allow changes to your application to be reloaded at runtime. It is a JVM agent and monitors changes to class files and reloads them on the fly

Cheers

On Wed, Jan 25, 2012 at 2:03 PM, Martin Saucier <[hidden email]> wrote:
Thanks Graeme, it worked. Can you explain to me what is that reloading agent used for and what it's doing ?

Regards,

Martin 

On 2012-01-23, at 5:49 PM, Graeme Rocher wrote:

This is the reloading agent getting in the way. Using:

grails -noreloading run-app

Would probably work as well

Cheers

On Mon, Jan 23, 2012 at 2:06 PM, Martin Saucier <[hidden email]> wrote:
Hi,
   I have a weird problem with a Grails 2.0 app and Terracotta 3.6 server. If I run my grails application using run-app within STS 2.9, I get the following exception at runtime (see below). However, if I setup a SpringSource tc Server within STS and run my grails application within it (meaning it creates and deploy a .war file) everything works fine.

Any idea what would cause the app to failed at runtime within the IDE ?  I did verify the the terracotta-toolkit jar is in the classpath, I do not think this is the issue.


Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Could not create ClusteredInstanceFactory due to missing class. Please verify that terracotta-toolkit is in your classpath.
at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:89)
... 5 more
Caused by: net.sf.ehcache.CacheException: Could not create ClusteredInstanceFactory due to missing class. Please verify that terracotta-toolkit is in your classpath.
at net.sf.ehcache.terracotta.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:182)
at net.sf.ehcache.terracotta.TerracottaClient.createNewClusteredInstanceFactory(TerracottaClient.java:198)
at net.sf.ehcache.terracotta.TerracottaClient.createClusteredInstanceFactory(TerracottaClient.java:150)
at net.sf.ehcache.CacheManager.doInit(CacheManager.java:396)
at net.sf.ehcache.CacheManager.init(CacheManager.java:352)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:237)
at net.sf.ehcache.CacheManager.create(CacheManager.java:856)
at net.sf.ehcache.CacheManager.create(CacheManager.java:831)
at net.sf.ehcache.hibernate.EhCacheRegionFactory.start(EhCacheRegionFactory.java:70)
... 5 more
Caused by: java.lang.ClassNotFoundException: com.springsource.loaded.ri.ReflectiveInterceptor
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at com.terracotta.express.L1Loader.findClass(L1Loader.java:32)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at com.tc.properties.TCPropertiesImpl.newLoggingProxy(TCPropertiesImpl.java:306)
at com.tc.properties.TCPropertiesImpl.<clinit>(TCPropertiesImpl.java:36)
at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.<clinit>(StandardXMLFileConfigurationCreator.java:54)
at com.terracotta.express.StandaloneL1Boot.resolveEmbedded(StandaloneL1Boot.java:173)
at com.terracotta.express.StandaloneL1Boot.resolveConfig(StandaloneL1Boot.java:122)
at com.terracotta.express.StandaloneL1Boot.createConfigFile(StandaloneL1Boot.java:85)
at com.terracotta.express.StandaloneL1Boot.call(StandaloneL1Boot.java:188)
at com.terracotta.express.ClientImpl.<init>(ClientImpl.java:315)
at com.terracotta.express.ClientFactoryImpl.newClient(ClientFactoryImpl.java:238)
at com.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:231)
at com.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:218)
at com.terracotta.express.ClientFactoryImpl.getOrCreateClient(ClientFactoryImpl.java:196)
at org.terracotta.express.ClientFactory.getOrCreateClient(ClientFactory.java:30)
at net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.<init>(StandaloneTerracottaClusteredInstanceFactory.java:37)
at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:92)
at net.sf.ehcache.terracotta.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:178)
... 13 more

Martin Saucier
Solutions Architect
t <a href="tel:506.874.8906" value="+15068748906" target="_blank">506.874.8906

 


<image001.gif>




--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com

Martin Saucier
Solutions Architect
t <a href="tel:506.874.8906" value="+15068748906" target="_blank">506.874.8906

 






--
Graeme Rocher
Grails Project Lead
SpringSource - A Division of VMware
http://www.springsource.com
Reply | Threaded
Open this post in threaded view
|

Re: Grails 2.0 - Terracotta 3.6 - java.lang.ClassNotFoundException: com.springsource.loaded.ri.ReflectiveInterceptor

wavyx
Hi Graeme,

I'm bumping this old thread because I had the same issue in Grails 2.1.0 with Terracotta 3.7.2 : Problem obtaining node id from TerracottaJobStore.

Running with "grails -noreloading run-app" does the trick, but I'm wondering if there is a better way to handle/fix this issue ? What is the root of the problem, spring reflection api ?

Thanks for your insights,
Eric

Stacktrace:

INFO - Terracotta 3.7.2, as of 20121030-061135 (Revision unknown-21148 by cruise@su10vmo104 from 3.7.2)
context.GrailsContextLoader Error executing bootstraps: Error creating bean with name 'quartzScheduler': Invocation of init method failed; nested exception is java.lang.RuntimeException: Problem obtaining node id from TerracottaJobStore.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler': Invocation of init method failed; nested exception is java.lang.RuntimeException: Problem obtaining node id from TerracottaJobStore.
    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:680)
Caused by: java.lang.RuntimeException: Problem obtaining node id from TerracottaJobStore.
    at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1204)
    at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1484)
    at grails.plugin.quartz2.QuartzFactoryBean.afterPropertiesSet(QuartzFactoryBean.groovy:103)
    ... 5 more
Caused by: java.lang.reflect.InvocationTargetException
    at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1194)
    ... 7 more
Caused by: java.lang.NoClassDefFoundError: com/springsource/loaded/ri/ReflectiveInterceptor
    at com.tc.properties.TCPropertiesImpl.newLoggingProxy(TCPropertiesImpl.java:313)
    at com.tc.properties.TCPropertiesImpl.<clinit>(TCPropertiesImpl.java:37)
    at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.<clinit>(StandardXMLFileConfigurationCreator.java:56)
    at com.terracotta.express.StandaloneL1Boot.resolveEmbedded(StandaloneL1Boot.java:189)
    at com.terracotta.express.StandaloneL1Boot.resolveConfig(StandaloneL1Boot.java:138)
    at com.terracotta.express.StandaloneL1Boot.createConfigFile(StandaloneL1Boot.java:101)
    at com.terracotta.express.StandaloneL1Boot.call(StandaloneL1Boot.java:221)
    at com.terracotta.express.ClientImpl.<init>(ClientImpl.java:369)
    at com.terracotta.express.ClientFactoryImpl.newClient(ClientFactoryImpl.java:286)
    at com.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:279)
    at com.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:266)
    at com.terracotta.express.ClientFactoryImpl.getOrCreateClient(ClientFactoryImpl.java:203)
    at org.terracotta.express.ClientFactory.getOrCreateClient(ClientFactory.java:30)
    at org.terracotta.quartz.AbstractTerracottaJobStore.init(AbstractTerracottaJobStore.java:62)
    at org.terracotta.quartz.AbstractTerracottaJobStore.getUUID(AbstractTerracottaJobStore.java:77)
    ... 8 more
Caused by: java.lang.ClassNotFoundException: com.springsource.loaded.ri.ReflectiveInterceptor
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at com.terracotta.express.L1Loader.findClass(L1Loader.java:32)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 23 more
Reply | Threaded
Open this post in threaded view
|

Re: Grails 2.0 - Terracotta 3.6 - java.lang.ClassNotFoundException: com.springsource.loaded.ri.ReflectiveInterceptor

franklyn
the problem has been existing for 2 years! i faced the same problem when i'm using ehcache-terracotta:2.6.8+grails-2.3.11,at last i found a resolution,open file "grails-bootstrap-2.3.11.jar" you can find it in directory {GRAILS_HOME}/dist,then edit file "springloaded.properties",make it like following:
excluded.loaders=DEFAULT,org.codehaus.groovy.grails.compiler.web.pages.GroovyPageClassLoader,com.terracotta.express.L1Loader,com.terracotta.express.BootjarLoader,org.knopflerfish.framework.BundleClassLoader 
then save it into back jar file.done!
Hope these can help someone!