【问题标题】:How to Deploy spring boot application using Eureka Server in windows如何在 Windows 中使用 Eureka Server 部署 Spring Boot 应用程序
【发布时间】:2016-10-19 06:30:00
【问题描述】:

如果我使用 apache tomcat 作为 web 服务器,那么我可以简单地获取 Jar 文件并部署在 windows 中运行的 apache 中。

在 Windows 中使用 Eureka Server 时如何部署?

我们有 Eureka 的服务器安装吗?

【问题讨论】:

标签: spring-boot netflix-eureka spring-boot-maven-plugin


【解决方案1】:

Kiran,您开发的每个 Spring Boot 应用程序都是独立应用程序。每当构建应用程序时,嵌入的 tomcat 都会打包在包中。所以这意味着它不需要你额外的努力,只需将应用程序移植到目标机器并双击应用程序 -> 它就会开始它的魔力。

因此,创建的包不适合单独运行 tomcat,因为它包含不必要的东西。

如果您不想部署在单独的 tomcat 而不是独立的,请按照指南进行操作

http://docs.spring.io/spring-boot/docs/current/reference/html/howto-traditional-deployment.html

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-09-30
    • 2015-04-14
    • 2014-09-10
    • 1970-01-01
    • 2018-07-14
    • 1970-01-01
    相关资源
    最近更新 更多