0
我正在使用Jobeet教程。无法导入symfony中的路由
我已经配置在应用程序中的路由/ confing文件如下:
EnsJobeetBundle:
resource: "@EnsJobeetBundle/Resources/config/routing.yml"
prefix: /
在EnsJobeetBundle路由,定义如下:当我使用的URL http://localhost/Symfony/web/app_dev.php/job/
我得到的
EnsJobeetBundle_job:
resource: "@EnsJobeetBundle/Resources/config/routing/job.yml"
prefix: /job
以下错误:
Cannot import resource "@EnsJobeetBundle/Resources/config/routing/job.yml"
from "C:\wamp\www\Symfony\src\Ens\JobeetBundle/Resources/config/routing.yml".
Make sure the "EnsJobeetBundle/Resources/config/routing/job.yml" bundle
is correctly registered and loaded in the application kernel class.
我也在appkernel文件中注册为fo llow:
new Ens\JobeetBundle\EnsJobeetBundle(),
什么可能会导致这些错误?
请粘贴你的'job.yml' – 2012-07-31 09:24:00