[Catalyst] Couldn't instantiate component "AddressBook::Model::AddressDB"

Ian Wells ijw at cack.org.uk
Wed Apr 22 12:34:21 GMT 2009


2009/4/22 Kiffin Gish <kiffin.gish at planet.nl>:
> Actually both People.pm and Address.pp were generated and can be found
> in the directory: lib/AddressBook/Schema/AddressDB/Result/.
>
> I thinks that's the problem.

Passing observation, that's the load_namespaces way that DBIx::Class
uses nowadays.  The book is based on the old-style load_classes method
(and the missing file is indeed where load_classes would be looking).

Dunno how you would fix it but I wonder if that's the problem.

-- 
Ian.



More information about the Catalyst mailing list