我遵循Spring Roo tutorial(Ben Alex)。直到創建發現者一切都很好。當我創建finder
它不會生成生成相關的JSP文件。它只更新java和.aj文件。這可能是什麼樣的問題?Spring Roo finder問題
~.domain.Rsvp roo> controller class --class ~.web.PublicRsvpController
Created SRC_MAIN_JAVA\com\wedding\web\PublicRsvpController.java
Updated SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
Created SRC_MAIN_WEBAPP\WEB-INF\views\publicrsvp
Created SRC_MAIN_WEBAPP\WEB-INF\views\publicrsvp\views.xml
Created SRC_MAIN_WEBAPP\WEB-INF\views\publicrsvp\index.jspx
Updated SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
~.domain.Rsvp roo> finder list --class ~.domain.Rsvp --filter code,equ
findRsvpsByAttendingEquals(Integer attending)
findRsvpsByAttendingGreaterThanEquals(Integer attending)
findRsvpsByAttendingLessThanEquals(Integer attending)
findRsvpsByAttendingNotEquals(Integer attending)
findRsvpsByCodeEquals(String code)
findRsvpsByCodeIsNotNull()
findRsvpsByCodeIsNull()
findRsvpsByCodeLike(String code)
findRsvpsByCodeNotEquals(String code)
findRsvpsByConfirmedEquals(Date confirmed)
findRsvpsByConfirmedGreaterThanEquals(Date confirmed)
findRsvpsByConfirmedLessThanEquals(Date confirmed)
findRsvpsByConfirmedNotEquals(Date confirmed)
findRsvpsByEmailEquals(String email)
findRsvpsByEmailNotEquals(String email)
findRsvpsBySpecialRequestsEquals(String specialRequests)
findRsvpsBySpecialRequestsIsNotNull()
findRsvpsBySpecialRequestsIsNull()
findRsvpsBySpecialRequestsLike(String specialRequests)
findRsvpsBySpecialRequestsNotEquals(String specialRequests)
~.domain.Rsvp roo> finder add --finderName findRsvpsByCodeEquals
Updated SRC_MAIN_JAVA\com\wedding\domain\Rsvp.java
Created SRC_MAIN_JAVA\com\wedding\domain\Rsvp_Roo_Finder.aj
~.domain.Rsvp roo>
請發佈您遇到的特定Spring Roo版本請確保您使用的是最新版本的Spring Roo – bhagyas
我正在使用'Spring Roo 1.2.0.M1 [rev f27d dd6]日誌在2011-09-27 11:41:20開啓# – Chandana