1. 程式人生 > >application.yml檔案使用@符合異常

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: @[email protected]錯誤資訊

原因:
未知

解決:
mvn clean install 後可以重新啟動