无法启动 LiveReload 服务器 [英] Unable to start LiveReload server

查看:70
本文介绍了无法启动 LiveReload 服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从 spring-boot 网站下载了源演示代码,当我导入 Intelj idea 并启动应用程序时,控制台有一个 WARN,它说

I download the source demo code from spring-boot website when i import in the Intelj idea and start the application, the console has a WARN,which says

2017-08-14 12:23:23.609 WARN 2356 --- [restartedMain] o.s.b.d.a.OptionalLiveReloadServer : 无法启动 LiveReload 服务器

虽然应用程序在工作,但我仍然想知道为什么它有这个 WARN!

although the application was working, I still wanna know why it has this WARN!

推荐答案

就我而言,我也有两个同时运行的 Spring Boot 服务.当然,完全禁用实时重新加载会起作用,但您还可以设置一个属性来选择不同的端口.

In my case I have two Spring Boot services running simultaneously too. Of course disabling the live-reload completely will work, but there's also a property you can set to choose a different port.

只需将以下内容添加到您的 application.yml(或等效的属性).默认值为 35729.

Simply add the following to your application.yml (or properties equivalent). The default is 35729.

弹簧:开发工具:实时加载:端口:35730

这篇关于无法启动 LiveReload 服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆