Grails 2.1.0不自动重新加载/自动重新编译 [英] Grails 2.1.0 Not Auto-Reloading / Auto-Recompiling
本文介绍了Grails 2.1.0不自动重新加载/自动重新编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在OSX Snow Leopard上使用Grails 2.1.0。
$ b 注意:这与此问题类似。
Seems that Grails does automatically recompile my GSP pages, but not my controllers. It used to work with the previous version of Grails. Any idea what I can look for?
Using Grails 2.1.0 on OSX Snow Leopard.
Note: This is similar to this issue
解决方案
If you name the package names on your controllers incorrectly (as in the folder structure does not agree with the package declaration), the application will still run and no errors will be reported, but auto-reloading will not work.
这篇关于Grails 2.1.0不自动重新加载/自动重新编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文