• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Controller class not found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Controller class not found
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: WO and MySQL
  • Next by Date: Re: Won't load my model
  • Previous by thread: Re: Database replication and WO
  • Next by thread: Re: Controller class not found
  • Index(es):
    • Date
    • Thread