[ColdBox 3.5.1] Solitary module error

I’m trying to install solitary module, but always get this error:

Error building: UserService@Solitary -> A CFC with entityname User could not be found. with constructor arguments: {}

Stack Trace
at cfBuilder2ecfc1151797735$funcBUILDCFC.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\ioc\Builder.cfc:116) at cfInjector2ecfc1748100027$funcBUILDINSTANCE.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\ioc\Injector.cfc:288) at cfSingleton2ecfc2120473237$funcGETFROMSCOPE.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\ioc\scopes\Singleton.cfc:46) at cfInjector2ecfc1748100027$funcGETINSTANCE.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\ioc\Injector.cfc:262) at cfBuilder2ecfc1151797735$funcGETMODELDSL.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\ioc\Builder.cfc:456) at cfBuilder2ecfc1151797735$funcBUILDDSLDEPENDENCY.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\ioc\Builder.cfc:327) at cfInjector2ecfc1748100027$funcPROCESSINJECTION.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\ioc\Injector.cfc:575) at cfInjector2ecfc1748100027$funcAUTOWIRE.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\ioc\Injector.cfc:462) at cfSingleton2ecfc2120473237$funcGETFROMSCOPE.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\ioc\scopes\Singleton.cfc:48) at cfInjector2ecfc1748100027$funcGETINSTANCE.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\ioc\Injector.cfc:262) at cfModuleConfig2ecfc1583596806$funcONLOAD.runFunction(C:\ColdFusion9\wwwroot\RankTracker\modules\solitary\ModuleConfig.cfc:113) at cfModuleService2ecfc304242916$funcACTIVATEMODULE.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\web\services\ModuleService.cfc:324) at cfModuleService2ecfc304242916$funcACTIVATEALLMODULES.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\web\services\ModuleService.cfc:256) at cfLoaderService2ecfc1851512594$funcLOADAPPLICATION.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\web\services\LoaderService.cfc:84) at cfColdbox2ecfc1074052954$funcLOADCOLDBOX.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\Coldbox.cfc:71) at cfColdbox2ecfc1074052954$funcONAPPLICATIONSTART.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\Coldbox.cfc:502)

I have added this.mappings[’/solitary’] = COLDBOX_APP_ROOT_PATH & “/modules/solitary”; on application.cfc

My guess would be that the cfclocation doesn’t include the modules location.

This are my orm settings:

this.ormEnabled = true;
this.datasource = “rankTracker”;
this.ormSettings = {
cfclocation = “model”,
dialect = “MySQL”,
dbcreate = “update”,
logSQL = true,
eventHandling = true,
eventhandler = “model.EventHandler”,
flushatrequestend = “false”

How should be cfclocation?

I have chabged the orm settings to:

this.ormSettings = {
cfclocation = [“model”,"/solitary/model"],
dialect = “MySQL”,
dbcreate = “update”,
logSQL = true,
eventHandling = true,
eventhandler = “model.EventHandler”,
flushatrequestend = “false”

But now there is another problem:

Error Type: HandlerService.EventHandlerNotRegisteredException : [N/A]
Error Messages: The event: security/login is not valid registered event.

coldfusion.runtime.CustomException: The event: security/login is not valid registered event.
	at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142)
	at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
	at cfUtil2ecfc1295955911$funcTHROWIT.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\core\util\Util.cfc:164)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:496)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:355)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2301)
	at cfHandlerService2ecfc1264995007$funcINVALIDEVENT.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\web\services\HandlerService.cfc:384)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)
	at cfHandlerService2ecfc1264995007$funcGETREGISTEREDHANDLER.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\web\services\HandlerService.cfc:299)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
	at cfController2ecfc1944470730$funcRUNEVENT.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\web\Controller.cfc:486)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:496)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:355)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2301)
	at cfColdbox2ecfc1074052954$funcPROCESSCOLDBOXREQUEST.runFunction(C:\ColdFusion9\wwwroot\ColdBox\system\Coldbox.cfc:236)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)
	at cfApplication2ecfc2068118833$funcONREQUESTSTART.runFunction(C:\ColdFusion9\wwwroot\RankTracker\Application.cfc:59)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)
	at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:88)
	at coldfusion.runtime.AppEventInvoker.onRequestStart(AppEventInvoker.java:258)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:349)
	at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
	at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
	at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
	at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
	at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
	at coldfusion.CfmServlet.service(CfmServlet.java:200)
	at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
	at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
	at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
	at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
	at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
	at com.seefusion.Filter.doFilter(Filter.java:49)
	at com.seefusion.SeeFusion.doFilter(SeeFusion.java:1500)
	at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
	at jrun.servlet.FilterChain.service(FilterChain.java:101)
	at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
	at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
	at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
	at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
	at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

With a fresh install of a simple coldbox app it now works, really don’t know where it was the problem…