我使用文档中给出的休眠注释示例创建了简单的 grails。
我正在使用脚手架。
单击新书时的异常如下
No such property: action for class: com.books.Book. Stacktrace follows:
Message: No such property: action for class: com.books.Book
Line | Method
->> 19 | create in com.books.BookController
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run . . in ''
^ 662 | run in java.lang.Thread