当前位置:首页 > application

application

application

SpringBoot中的application.properties引用pom.xml中变量

canca4年前 (2022-07-05)932
SpringBoot中的application.properties引用pom.xml中变量
在SpringBoot的默认配置文件application.properties中引用pom.xml中的变量在application.properties中我们引用了hostname这个变量,其中@hostname@代表的是pom.xml中的一个变量server.port=8081 eurek…