您已请求不存在的服务"security.acl.dbal.connection"

Jay*_*son 8 acl symfony

当我在symfony2.0中运行init:acl时出现此错误,任何人都知道如何修复它!

You have requested a non-existent service "security.acl.dbal.connection"
Run Code Online (Sandbox Code Playgroud)

Pro*_*tic 18

您需要在应用程序中启用ACL支持.将此行添加到security.yml配置文件中:

acl:
    connection: default
Run Code Online (Sandbox Code Playgroud)

然后又跑php app/console init:acl了.