Controller class not found
Controller class not found
- Subject: Controller class not found
- From: Ian Joyner <email@hidden>
- Date: Tue, 18 Oct 2005 11:46:13 +1000
Has anyone else had this problem? Create a new Java-Client project,
just the simplest one possible, build and run it and you get:
java.lang.IllegalArgumentException: Controller class not found:
Test.client.TestInterfaceController
at com.webobjects.eoapplication.EOController._newController
(EOController.java:221)
at
com.webobjects.eoapplication.EOApplication.finishInitialization
(EOApplication.java:1186)
What I eventually tracked down after wasting an hour (and I'm
reasonably adept at Xcode and WebObjects by now) was that both the
TestInterfaceController.nib and TestInterfaceController.java had been
put in the "Copy Bundle Resources" of the Web Server target.
Moving the java file into "Compile Sources" fixed the problem. I'm
using Xcode 2.0 and WO 5.2.4. Is it just my installation or a general
problem which I should submit as a bug to Apple, because this kind of
thing kills off using WO in early stages of projects.
Thanks
Ian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden