Spring 工具套件 4 无法使用更新的 application.properties 运行

问题描述 投票:0回答:0

我发现,一旦我更改了application.properties,然后在eclipse spring tool suite 4中,右键单击主类,并运行as > spring boot app,它仍然使用之前applicaiton.properties的内容。

每次我改变application.properties的内容,我需要右击项目,选择maven > update project。

然后擦除{project} arge中的所有资源

spring-boot spring-tool-suite
© www.soinside.com 2019 - 2024. All rights reserved.