我已经关注Spring Roo tutorial(由Ben Alex提供)。直到创建发现者一切都很好。当我创建finder
时,它不会生成生成相关的JSP文件。它只更新java和.aj文件。这可能是什么问题?
~.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>