1
我想在我的彈簧啓動應用程序中設置執行器端點,但是我無法獲得我在application.yml中設置的值。這是我的配置至今:執行器不起作用
src/main/resources/application.yml
info.app:
description: mydescription
name: myname
version: 1.0
management.contextPath: /rest/internal/application
但是,當我試圖訪問端點我只得到這樣的:
rest call to http://localhost:8090/rest/internal/application/info
{
"Manifest-Version":"1.0",
"Created-By":"1.6.0_18 (Sun Microsystems Inc.)"
}
所以,我能是做錯了什麼?