经过数小时的搜索和尝试其他操作之后,我可以保证为我设置该属性的有效性
application-local.yml。
因此,在我的
application-local.yml文件中,我设置了:
server: port: 8080 contextPath: /test
Spring Boot带有一些预构建的属性支持,可以在
application.properties文件中定义。

经过数小时的搜索和尝试其他操作之后,我可以保证为我设置该属性的有效性
application-local.yml。
因此,在我的
application-local.yml文件中,我设置了:
server: port: 8080 contextPath: /test
Spring Boot带有一些预构建的属性支持,可以在
application.properties文件中定义。