grails应用程序无法自动刷新

grails应用程序无法自动刷新,grails,intellij-idea,groovy,Grails,Intellij Idea,Groovy,我在intellij中编写了一个grails应用程序。当我创建一个新的域类时(Spring-Loaded:cannotreload新版本的tmp.TestFkTable),或者在urlmapping.groovy中添加一个新的url(404notfound),或者在controller中添加一个新方法( 错误org.springsource.loaded.agent.Watcher-FileWatcher捕获到严重错误,请参阅原因 org.grails.core.exceptions.Grail

我在intellij中编写了一个grails应用程序。当我创建一个新的域类时(
Spring-Loaded:cannotreload新版本的tmp.TestFkTable
),或者在urlmapping.groovy中添加一个新的url(
404notfound
),或者在controller中添加一个新方法(

错误org.springsource.loaded.agent.Watcher-FileWatcher捕获到严重错误,请参阅原因 org.grails.core.exceptions.GrailsRuntimeException:错误实例化类型为[class org.grails.core.DefaultGrailsControllerClass]:InvocationTargetException的人工制品类[class tmp.CenyController]

),控制台显示错误

我必须重新运行它,然后它会像我预期的那样工作


我找到了一个关于它的页面“”,在构建它之后,我不知道怎么做。还有其他方法吗?

Grails版本是3.1.1,groovy版本2.4.5,JDK 1.8 64位。检查这个线程:即使我使用的是JRebelwhich版本的intellij?@MichalSzulc最新社区版。