springboot 配置多环境使用yml配置 @profileActive@ 启动报错Do not use @ for indentation

yml配置文件中添加了下面配置html spring: profiles: active: @profileActive@ 启动会报错:@profileActive@ 启动报错Do not use @ for indentationspring 解决办法:apache 1、须要在pom文件中添加如下代码maven <plugin> <groupId>org.apache.mav
相关文章
相关标签/搜索