Application run failedorg.yaml.snakeyaml.scanner.ScannerException: while scanning for the next tok
打包后的文件里,application.yml文件里的@profiles.active@,没有被替换成具体的环境值,如dev等。确保yml文件内容格式没有书写错误。idea中maven项目切换到微服务版有切换单体版忘记刷新了。报错: Application run failed。
·
报错: Application run failed
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 5, column 13:
active: @profile.name@
idea中maven项目切换到微服务版有切换单体版忘记刷新了
或者检查文件
打包后的文件里,application.yml文件里的@profiles.active@,没有被替换成具体的环境值,如dev等。确保yml文件内容格式没有书写错误
更多推荐
所有评论(0)