【发布时间】:2012-03-04 06:39:41
【问题描述】:
我正在尝试遵循 Spring Roo 教程:
http://static.springsource.org/spring-roo/reference/html/beginning.html
我能够创建实体并通过集成测试。
但是,当我继续创建控制器时,以下命令失败:
roo> web mvc setup
Created ROOT/src/main/webapp/WEB-INF/spring
Created ROOT/src/main/webapp/WEB-INF/spring/webmvc-config.xml
Undo create ROOT/src/main/webapp/WEB-INF/spring/webmvc-config.xml
Undo create ROOT/src/main/webapp/WEB-INF/spring
display name required
当我进入下一个 Roo 步骤时,我得到以下信息:
roo> web mvc all --package ~.web
Command 'web mvc all --package ~.web' was found but is not currently available (type 'help' then ENTER to learn about this command)
关于如何解决这些问题的任何想法?谢谢。
【问题讨论】:
-
注意,我使用的是 Roo 1.21 版。我切换到 1.1.5 版本,上面的命令按预期工作。
标签: spring-roo