Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 app/config/config.yml 文件中出现以下异常:
ScannerException 在扫描下一个令牌时,我们发现了无法启动任何令牌的字符 @(64)
导致异常的行:- { resource: @BazaBlogBundle/Resources/config/config.yml }
- { resource: @BazaBlogBundle/Resources/config/config.yml }
我认为是兼容性问题。我正在关注 Symfony 2.0 版的教程,我正在使用 2.16。有什么想法吗?
我认为您缺少双引号:
- { resource: "@BazaBlogBundle/Resources/config/config.yml" }