Error Messages: Mapping for component EntityName not found.

I get the below error when following the example in the video May 11 -
WireBox ORM Entity Injection Howto
http://blog.coldboxframework.com/archives.cfm/category/walkthroughs

I am going against a table in my database followed all of the steps
and now I get this error beow. What can I do to fix this?

Oops! Exception Encountered
Application Execution Exception
Error Type: Application : [N/A]
Error Messages: Mapping for component EntityName not found.
Either the mapping for this component is missing or the application
must be restarted to generate the mapping.

Nathan,

My guess is you are missing a configuration in your Application.cfc that is not specific to ColdBox but a standard ColdFusion ORM setting. Can you please post your ORMSettings={} code from your Application.cfc?

Thanks,

Aaron Greenlee
http://aarongreenlee.com/

this.ormenabled = "true";
      this.datasource = "databasename";
         this.ormsettings = {
      cfclocation = "EntitySample.model",
      dialect = "Oracle10g",
      dbcreate = "none",
      logSQL = true,
      flushatrequestend = false,
      automanageSession = false,
      eventhandling = true,
      eventhandler = "model.EventHandler"
    };

are you in a mac?

Luis F. Majano
President
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

I would guess it has to do with this cfclocation = "EntitySample.model" being set wrong, or you need to setup and app mapping to webroot, something like

<cfset this.mappings["/"] = getDirectoryFromPath(getCurrentTemplatePath()) />

This is a fix for a known mac bug.

Curt

Nope - Windows - C:\ColdFusion9\wwwroot

No I am not on a mac.

C:\ColdFusion9\wwwroot

Did you add the self referencing mapping?

Also, can you post the error and code?

Luis F. Majano
President
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Oops! Exception Encountered
Application Execution Exception
Error Type: Application : [N/A]
Error Messages: Mapping for component ChopSheet not found.
Either the mapping for this component is missing or the application
must be restarted to generate the mapping.

are you doing ormreload()

Luis F. Majano
President
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano