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@application.yml文件使用@符合异常_第1张图片

原因:
未知

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

你可能感兴趣的:(异常处理)