found character '@' that cannot start any token. (Do not use @ for indentation)

Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token
found character '@' that cannot start any token. (Do not use @ for indentation)
 in 'reader', line 19, column 13:
        active: @profileActive@

bulid 节点下面增加

        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <!--开启过滤,用指定的参数替换directory下的文件中的参数-->
                <filtering>true</filtering>
            </resource>
        </resources>
posted @ 2023-12-07 17:37  方东信  阅读(246)  评论(0编辑  收藏  举报