application.yml文件使用@符合异常

异常信息:
在application配置文件中使用@出现异常:
Exception in thread “main” while scanning for the next token
found character ‘@’ that cannot start any token. (Do not use @ for indentation)
in ‘reader’, line 4, column 11:
name: @project.artifactId@错误信息

原因:
未知

解决:
mvn clean install 后可以重新启动

猜你喜欢

转载自blog.csdn.net/YiJuanXia/article/details/84707980
今日推荐