Grails 2.1.0不自动重新加载/自动重新编译 [英] Grails 2.1.0 Not Auto-Reloading / Auto-Recompiling

查看:84
本文介绍了Grails 2.1.0不自动重新加载/自动重新编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看起来Grails会自动重新编译我的GSP页面,但不是我的控制器。它曾经用于以前版本的Grails。任何想法我可以寻找?



在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆