Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Not a wocomponent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not a wocomponent?




On Jul 16, 2008, at 11:35 AM, James Cicenia wrote:

Hello -

In deployment and not in dev I am getting this weird error:

<com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
java.lang.IllegalArgumentException: <com.webobjects.appserver._private.WOComponentDefinition> Class 'Measure' exists but is not a subclass of WOComponent.
[2008-07-16 13:40:08 CDT] <WorkerThread0> java.lang.IllegalArgumentException: <com.webobjects.appserver._private.WOComponentDefinition> Class 'Measure' exists but is not a subclass of WOComponent.


Anyone know what can cause this? Measure is certainly subclassing WOComponent


Sounds like a classpath ordering problem. There is some other foo.bar.baz.Measure class that it is finding before your component. Mike had some hack, er fine engineering, around this but I don't think it is in Wonder.

Chuck


--

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-deploy mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Not a wocomponent? (From: James Cicenia <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.