如何让spring roo项目具有动态web特性?

发布于 2024-11-16 10:50:26 字数 455 浏览 11 评论 0原文

你好,我正在尝试 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

仙女 2024-11-23 10:50:26

请在您的项目上的 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!!!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文