The error message is as follows: ParseException: Unabletoparseatline2 (near & quot; resource: & quot; @ TestBundleResourcesConfigrouting. yml & quot ;). the file content is Test: resource: & quot; @ TestBundleResourcesConfigrouting. yml & quot; prefix :... the error message is as follows:
ParseException: Unable to parse at line 2 (near "resource:" @ TestBundle/Resources/Config/routing. yml "").
The file content is
Test:
Resource: "@ TestBundle/Resources/Config/routing. yml"
Prefix :/
Is @ TestBundle not recognized or is it a problem? Does anyone know? Thank you.
The demo/test/Resources/Config/routing. yml content is
Test_homepage:
Path:/Test/demo
Defaults: {_ controller: TestBundle: TestController: index}
The error is that the file cannot be parsed. // Symfony2.4.3/app/config/routing_dev.yml.
Reply content:
The error message is as follows:
ParseException: Unable to parse at line 2 (near "resource:" @ TestBundle/Resources/Config/routing. yml "").
The file content is
Test:
Resource: "@ TestBundle/Resources/Config/routing. yml"
Prefix :/
Is @ TestBundle not recognized or is it a problem? Does anyone know? Thank you.
The demo/test/Resources/Config/routing. yml content is
Test_homepage:
Path:/Test/demo
Defaults: {_ controller: TestBundle: TestController: index}
The error is that the file cannot be parsed. // Symfony2.4.3/app/config/routing_dev.yml.
When you write the routing. yml file,
Test:
(Here) resource: "@ TestBundle/Resources/Config/routing. yml"
(Here) prefix :/
Does it start with a tab or use a Space key? Routing. yml does not support leading tab Spaces