如何让spring roo项目具有动态web特性?
你好,我正在尝试 Spring Roo,我已经使用 eclipse 安装了 STS。 如果我做新的->动态网页 ->添加 spring roo nature,spring roo shell 不断显示“未安装 spring roo”的消息(实际上我已经在偏好设置中安装了它 - > spring roo)
如果我新建 - > spring Roo 项目,生成的项目是一个 java标准应用程序而不是 Web 应用程序 :S 但 ROO 控制台可以工作 我执行“controller all --package ~.web”命令,它只生成 web.xml,但仍然缺少运行选项... ->服务器
屏幕截图: http://i54.tinypic.com/14mqu8h.jpg
有什么想法吗?
Hi I'm giving a try of Spring Roo, I have STS installed with eclipse.
if I do new-> Dynamic Web -> add spring roo nature, the spring roo shell keep showing message of "Not spring roo installed" (actually I have it installed in preference->spring roo)
if I do new->spring Roo project, the project generated is a java standard application and not a web application :S but the ROO console works
and I do "controller all --package ~.web" command it only generate web.xml but still missing the option run as.. -> server
screenshot: http://i54.tinypic.com/14mqu8h.jpg
any idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请在您的项目上的 Roo 控制台中运行
perform eclipse
Roo 命令并查看。您可能应该运行安装了 m2eclipse 插件的 Roo 项目。使用
tomcat:run
作为您的 Maven 目标。从以下链接开始有一系列文章,它们可以解决与 Eclipse 配置相关的大多数问题。
http://blog.lckymn.com/2009/05/ 17/roo-so-cool-01/
干杯!!!
Please run the
perform eclipse
Roo command in your Roo Console on your project and see.You should probably run your Roo project with m2eclipse addon installed. Use
tomcat:run
as your Maven goal.There is a series of articles on the starting from the following link which would address most of your questions related to eclipse configuration.
http://blog.lckymn.com/2009/05/17/roo-so-cool-01/
Cheers!!!