• 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 17:36:40 -0700

I'd definitely report it again. It is obvious. It is wrong. It is easy to fix. It ought to be fixed.

Chuck



On Oct 18, 2005, at 5:06 PM, Ian Joyner wrote:

It's been pointed out to me (thanks) that this is in the "older release notes":

If you create a new WebObjects Java Client, Direct To Java Client or Direct To Web application with Xcode 1.5, the project will not configure the build targets correctly. You will notice that some files are not properly added to the Application Servers target, nor are they part of the proper build phases, which will cause issues when building. This bug will be fixed in a future update of WebObjects.

For Java Client projects: When creating a new java client project, you'll notice that the JavaClient.java source file are not correctly added to the Application Servers target and are in the Bundle Resources build phase and not in the Sources build phase. The [applicationName]InterfaceController.java source file is not correctly added to the Web Server target and are in the Bundle Resources build phase and not in the Sources build phase. After creating a new project, open the Web Server target in the Groups & Files view and drag the [applicationName]InterfaceController.java source file from the Bundle Resources build phase to Sources build phase. Then open the Application Servers target in the Groups & Files view and drag the JavaClient.java source file from the Bundle Resources build phase to Sources build phase.


(Also notes for direct to web and direct to JC.) This is an Xcode 1.5 release notes. I can't find the project templates for WebObjects, so perhaps they are using something built into Xcode for WO projects. It does make the statement that the bug will be fixed, so their interpretation of future must be out there somewhere, since I think 5.2.3, 5.2.4, and 5.3(?) have all come along since 1.5.


Should I still submit a bug report because the release note is a bit long in the tooth now? I'm just trying to help them out not to lose new and large developers, because with this one, you can't even get off first base unless you have some prior (and reasonably extensive knowledge) of Xcode.

Ian

On 19/10/2005, at 3:31 AM, Chuck Hill wrote:

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

  • Prev by Date: Re: Controller class not found
  • Next by Date: Adding to relationships - what method to use?
  • Previous by thread: Re: Controller class not found
  • Next by thread: Trouble Deleting and Adding an EOModel
  • Index(es):
    • Date
    • Thread