yes , the services.php in path " app/config " ,my project is build by command line, I do nothing for it , but when I instant model , It throws exception
tank you! I try do it as you said , but it throw errors " Fatal error: Cannot instantiate abstract class Phalcon\Mvc\Model\MetaData in D:\wamp\www\phalcon\app\config\services.php on line 77 "
As @顾伟刚 said, there is no MetaDataAdapter class.
Try placing this line at the beginning of your services.php:
use Phalcon\Mvc\Model\MetaData as MetaDataAdapter;