我想将 Spring boot 应用程序部署为 tomcat 服务器中的战争。我的 tomcat 端口是 8088。但我想在application.yml文件中指定的端口号上启动我的应用程序。是否可以?
application.yml
就像我在 yml 文件中声明了端口一样:
server: port: 8090
spring tomcat spring-boot
spring ×1
spring-boot ×1
tomcat ×1