【发布时间】:2020-10-03 05:13:19
【问题描述】:
我正在与一个团队一起完成一项任务。我的团队决定为应用程序使用 spring boot。但是由于某种原因,每当我运行应用程序时,我的终端上都会收到不同的消息,而我的队友在他们的终端上会收到不同的消息。而不是“LiveReload 服务器正在端口 35729 上运行”,而是“使用端口 8081 (http) 初始化的 tomcat”。
我不确定到底该怎么做,因为我们所有人都在使用同一个项目,而且我已经按照他们告诉我的方式构建了它。
但是它仍然不适合我。谁能告诉我如何修复它,以便我可以让它运行。我以前从未使用过 maven 或 spring boot。
这是我在终端上收到的消息
2020-06-13 23:05:35.538 INFO 34396 --- [ restartedMain] com.rest.WebApplication : Starting WebApplication on DESKTOP-1M4A445 with PID 34396 (Directory\project\target\classes started by USER in Directory/project)
2020-06-13 23:05:35.543 INFO 34396 --- [ restartedMain] com.rest.WebApplication : No active profile set, falling back to default profiles: default
2020-06-13 23:05:35.609 INFO 34396 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2020-06-13 23:05:36.520 INFO 34396 --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
2020-06-13 23:05:36.550 INFO 34396 --- [ restartedMain] com.rest.WebApplication : Started WebApplication in 1.452 seconds (JVM running for 2.035)
Process finished with exit code 0
非常感谢。
【问题讨论】:
标签: java spring-boot maven tomcat intellij-idea