我正在运行一个用intellij idea 2020.2.1编写的maven项目。
我遇到这个错误:
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 3, column 15:
artifact: @project.artifactId@
^
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:420)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226)
1条答案
按热度按时间guz6ccqo1#
对我来说,解决方案是重新加载项目并进行一次maven的干净安装