春罗+ Vaadin 插件:在 Tomcat 服务器上运行

发布于 2024-12-13 16:32:37 字数 283 浏览 5 评论 0原文

使用本教程 https://vaadin.com/springroo,我能够启动并配置 Spring Roo 项目与 Vaadin 附加组件。我在容器中的 tomcat 服务器上运行此应用程序时遇到问题。我已经在 eclipse 环境中安装并配置了 tomcat,但不知道 Spring ROO shell 中允许我运行该项目的命令是什么?

如何使用 vaadin 插件为 Spring Roo 项目设置 tomcat?

Using this tutorial https://vaadin.com/springroo, i was able to get a Spring Roo project started and configured with Vaadin add-on. I am having trouble running this application on a tomcat server in a container. I have tomcat already installed in my eclipse environment and configured but dont know what the command is in Spring ROO shell that allows me to run this project?

How do you set up tomcat with a Spring Roo project using the vaadin add-on?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

源来凯始玺欢你 2024-12-20 16:32:37

要在项目开发期间将应用程序部署在 Web 容器中,您有多种选择:

从 shell/命令行部署(无需组装 war 存档):
在项目根目录(不在 Roo shell 内)运行“mvn tomcat:run”以部署到 Tomcat 容器
在项目根目录(不在 Roo shell 内)运行“mvn jetty:run”以部署到 Jetty 容器

以 Roo 字符2.9 开头。步骤 6:加载 Web 服务器

编辑 1

如果您尚未安装 maven,请阅读 本文
如果您想使用 jetty 运行项目,请阅读本文

To deploy your application in a Web container during project development you have several options available:

Deploy from your shell / command line (without the need to assemble a war archive):
run 'mvn tomcat:run' in the root of your project (not inside the Roo shell) to deploy to a Tomcat container
run 'mvn jetty:run' in the root of your project (not inside the Roo shell) to deploy to a Jetty container

Beginning With Roo character 2.9. Step 6: Loading the Web Server

EDIT 1

If you have not installed maven, read this article
If you want run your project using jetty, read this article

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