Lachlan Deck wrote: On 28/07/2008, at 12:59 PM, Peter Vandoros wrote:Sorry that should have said: "It's usually when a different class with the same name as your component comes before your component class on the classpath." You can see the class WebObjects is instantiating for your component name with the following code which should help you: Class aClass = _NSUtilities.classWithName( "Foo" ); if ( aClass != null ) { System.out.println( "Found class '" + aClass.getName() + "' for name 'Foo'" ); } WebObjects does not check which class it tries to instantiate for your component to be a subclass of WOComponent. Different classpath specified in Eclipse compared to your deployed application.
--
Peter Vandoros Software Engineer Etech Group Pty Ltd Level 3/21 Victoria St Melbourne VIC 3000 Australia Ph: +61 3 9639 9677 Fax: +61 3 9639 9577 ---------------------------------- IMPORTANT: This e-mail message and any attachments are confidential and may be privileged. If received in error, please reply to this message and destroy all copies and any attachments. You should check this message and any attachments for viruses or defects. Our liability is limited to resupplying any affected message or attachments. For more information about Etech Group, please visit us at http://www.etechgroup.com.au. |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]