Grails 2.1.0 Not Auto-Reloading / Auto-Recompiling

前端 未结 4 1776
天涯浪人
天涯浪人 2021-02-15 23:24

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?

U

4条回答
  •  闹比i
    闹比i (楼主)
    2021-02-16 00:13

    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.

提交回复
热议问题