I got the same error when upgrading from ModelGlue 3 to 3.1 After
replacing the existing ModelGlue directory with the new ModelGlue 3.1
directory, I saw the same error message:
The method setup was not found in component C:\Inetpub\modelglue
\gesture\eventrequest\phase\Initialization.cfc.
Ensure that the method is defined, and that it is spelled correctly.
The error occurred in C:\Inetpub\modelglue\gesture\eventrequest
\EventContext.cfc: line 178
For those who need more details, this is what I did to resolve the
issue:
1) Opened ColdSpring.xml, found the property named "reload" and set
the value to: true
2) Opened application.cfc and added <cfset THIS.OnApplicationStart()>
in the OnRequestStart function.
3) Reloaded the application in my browser. The error was gone and the
application loaded correctly.
4) Changed the ColdSpring.xml property "reload" back to: false
5) Reloaded the application in my browser.
6) Removed the <cfset THIS.OnApplicationStart()> from the
OnRequestStart function in application.cfc.
I've noticed that even if I make changes to my ColdSpring.xml file,
they don't take effect unless I restart the application, which is why
I played with application.cfc file.
I can't say if this was the best way of handling the error but it
worked for me.
--
Olivier