[FLOW3-general] No class schema found for "Doctrine\Common\Collections\Collection"

Dmitry Dulepov dmitry.dulepov at gmail.com
Mon Dec 12 15:40:14 CET 2011


Hi!

Trying to follow:
http://flow3.typo3.org/documentation/guide/partii/modelandrepository.html

Firsts, I got a error about @ORM\Column but I solved that with "use 
Doctrine\ORM\Mapping as ORM;".

But now when I try to create a Post model, it says:

===============
atlas:~/Projects/My/FLOW3-1.0.1$ ./flow3 kickstart:model --force TYPO3.Blog 
Post 'blog:\TYPO3\Blog\Domain\Model\Blog' title:string linkTitle:string 
date:\DateTime author:string content:string
Uncaught Exception
   No class schema found for "Doctrine\Common\Collections\Collection"

More Information
   Exception code      #1295973082
   File 
/Users/dima/Projects/My/FLOW3-1.0.1/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/TYPO3_FLOW3_Persistence_Doctrine_Mapping_Driver_Flow3AnnotationDriver_Original.php 
line 80

Created .../TYPO3.Blog/Classes/Domain/Model/Post.php
As a new model was generated, don't forget to update the database schema 
with the respective doctrine:* commands.
===============

Why am I getting the exception here? Is it a bug in FLOW3?

FLOW3 1.1.0 base.

-- 
Dmitry Dulepov
TYPO3 core&security teams member
Blog: http://dmitry-dulepov.com/
Twitter: http://twitter.com/dmitryd

Simplicity will save the world.


More information about the FLOW3-general mailing list