• 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
Re: Controller class not found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Controller class not found


  • Subject: Re: Controller class not found
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 18 Oct 2005 10:31:26 -0700

I see the same thing.  It is a bug, please report it.

Chuck

On Oct 17, 2005, at 6:46 PM, Ian Joyner wrote:

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:
40global-village.net


This email sent to email@hidden


--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects




_______________________________________________ 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: Ian Joyner <email@hidden>
References: 
 >Controller class not found (From: Ian Joyner <email@hidden>)

  • Prev by Date: Re: DB-Connections in for-loop?
  • Next by Date: Re: DB-Connections in for-loop?
  • Previous by thread: Controller class not found
  • Next by thread: Re: Controller class not found
  • Index(es):
    • Date
    • Thread