开发者

Issues with doctrine build in Symfony

I am getting stuck with this Symfony command after following the Jobeet tutorial on their site. After running the build model command, here's what I get:

$ php symfony doctrine:build --model

doctrine generating model classes file+ /private/var/folders/yX/yXtbVXwPHcCUpfC-n06OAU+++TI/-Tmp-/doctrine_schema_56533.yml

No yml schema found in /private/var/folders/yX/yXtbVXwPHcCUpfC-n06OAU+++TI/-Tmp-/doctrine_schema_56533.yml开发者_如何转开发

Any ideas?


What's then full path to your schema.yml? Looks like it might be in the wrong place.

I encountered a couple of issues in the jobeet tutorial and found it helpful to compare my file contents/paths to the tag for the relevant day at http://svn.jobeet.org/doctrine/tags/


Did you make sure that all your schema code is YAML compliant? Maybe you can share the content of your current schema.yml with us.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜