Hi David,
wolips.properties is in the standard spot. i.e. ~/Library/Application
Support/WOLips/wolips.properties
The entires look correct to me (see below).
I'll try deleting the frameworks and just work from source.
Thanks,
Johnny
#Tue Sep 16 10:51:35 HST 2008
wo.system.root=/Developer/WebObjects/Versions/WebObjects54/System
wo.user.frameworks=/Users/jlmiller/Library/Frameworks
wo.system.frameworks=/Developer/WebObjects/Versions/WebObjects54/System/Library/Frameworks
wo.bootstrapjar=/Developer/WebObjects/Versions/WebObjects54/System/Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
wo.network.frameworks=/Network/Library/Frameworks
wo.api.root=/Developer/ADC%20Reference%20Library/documentation/WebObjects/Reference/API/
wo.network.root=/Network
wo.extensions=/Developer/WebObjects/Versions/WebObjects54/Library/WebObjects/Extensions
wo.user.root=/Users/jlmiller
wo.local.frameworks=/Developer/WebObjects/Versions/WebObjects54/Library/Frameworks
wo.apps.root=/Developer/WebObjects/Versions/WebObjects54/Library/WebObjects/Applications
wo.local.root=/
On Apr 30, 2010, at 11:18 AM, David Avendasora wrote:
> You don't need both the frameworks and the source. Just the source will do as
> long as you import the individual frameworks into your workspace as projects.
> WOLips will find the projects and use those to satisfy the classpath entries.
>
> If you don't want the Wonder frameworks in your workspace, then you will need
> the frameworks. Where is your workspace's wolips.properties file, and does it
> point to the directory the frameworks are installed in?
>
> Dave
>
> On Apr 30, 2010, at 3:08 PM, Johnny Miller wrote:
>
>> IDK what I'm doing wrong. It's definitely a setup problem because the
>> ERRestRouteExample has the same error.
>>
>> I put the WOnder frameworks in
>>
>> /Developer/WebObjects/Versions/WebObjects54/Library/Frameworks
>>
>> and I put the WOnder sources in
>>
>> ~/Documents/WonderLatest/Wonder-Source
>>
>> I downloaded and installed Wonder Source and Wonder Frameworks yesterday so
>> I'd have the latest and greatest.
>>
>> I've tried cleaning and restarting but I'm not getting anywhere. I also
>> tried reimporting ERRest and adding it to the Project's Build Path Project's
>> Tab.
>>
>> Does something not sound right in the setup or is there another option I
>> should try?
>>
>> Thanks a million,
>>
>> Johnny
>>
>>
>>
>>
>> On Apr 30, 2010, at 8:24 AM, Farrukh Ijaz wrote:
>>
>>> I quite often face this problem when I import a projects into workspace and
>>> try running it. I get the problem NoClassDefFoundError but manually
>>> invoking Project/Clean... works for me. May be it's eclipse problem.
>>>
>>> On 2010-04-30, at 8:52 PM, Todor Mitevski wrote:
>>>
>>>> Most of the time java.lang.NoClassDefFoundError is not the actual problem.
>>>> There should be another exception before that.
>>>> You should be looking for an exception which happens during the static
>>>> initialization of the class in the message. Any access to this class will
>>>> trigger NoClassDefFound but it means only that the class is not loaded. It
>>>> does not tell you why.
>>>> Here is an example where the real problem is a NullPointerException but it
>>>> will crash with NoClassDefFound:
>>>>
>>>> public class Main {
>>>> public static void main(String[] args) {
>>>> try {
>>>> System.out.println(C.s);
>>>> } catch (Throwable e) {
>>>> // System.err.println(e.getClass().getName()
>>>> // + " - caused by: "
>>>> // + e.getCause().getClass().getName());
>>>> System.out.println(C.s);
>>>> }
>>>>
>>>> }
>>>>
>>>> }
>>>>
>>>> class C {
>>>> final static String s = null;
>>>> static {
>>>> s.hashCode();
>>>> }
>>>> }
>>>>
>>>>
>>>> --- On Fri, 4/30/10, Mike Schrag <[email protected]> wrote:
>>>>
>>>> From: Mike Schrag <[email protected]>
>>>> Subject: Re: Getting Started with ERRest / Could not initialize class
>>>> er.rest.format.ERXRestFormat error
>>>> To: "WO Dev Group" <[email protected]>
>>>> Date: Friday, April 30, 2010, 4:40 AM
>>>>
>>>> looks like a wacky setup, but i don't know what ... i don't know how you
>>>> could have ERXRouteController exist, but ERXRestFormat NOT exist.
>>>> NoClassDefFound is almost always a funky classpath problem. Does
>>>> ERXRestFormat exist in your workspace? Is your ERRest framework a complete
>>>> build?
>>>>
>>>> ms
>>>>
>>>> On Apr 29, 2010, at 9:52 PM, Johnny Miller wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm trying to get my head around ERRest and I'm using the
>>>>> ERRestRouteExample as my guide.
>>>>>
>>>>> So far I just added ERRest to a new project and added one entity from a
>>>>> framework model to my ERXRouteRequestHandler using the addDefaultRoutes
>>>>> method.
>>>>>
>>>>> I can start the application but when I try to see a basic show route i.e.
>>>>> http://10.0.42.4:53339/cgi-bin/WebObjects/ExampleRestServer.woa/ra/(EntityName).xml
>>>>>
>>>>> I get the following error:
>>>>>
>>>>> NoClassDefFoundError: Could not initialize class
>>>>> er.rest.format.ERXRestFormat
>>>>> at er.rest.routes.ERXRouteController.format(ERXRouteController.java:366)
>>>>> at
>>>>> er.rest.routes.ERXRouteController.errorResponse(ERXRouteController.java:978)
>>>>> at
>>>>> er.rest.routes.ERXRouteController.performActionNamed(ERXRouteController.java:1265)
>>>>> at
>>>>> er.rest.routes.ERXRouteController.performActionNamed(ERXRouteController.java:1129)
>>>>> ... skipped 8 stack elements
>>>>>
>>>>> Could this be an error in my setup? ERRest is added to the path so I'm a
>>>>> little confused on the error.
>>>>>
>>>>> Thanks in advance,
>>>>>
>>>>> Johnny
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-dev mailing list ([email protected])
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
>>>>>
>>>>> This email sent to [email protected]
>>>>
>>>>
>>>> -----Inline Attachment Follows-----
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> http://lists.apple.com/mailman/options/webobjects-dev/tmitevski%40yahoo.com
>>>>
>>>> This email sent to [email protected]
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
>>>>
>>>> This email sent to [email protected]
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/jlmiller%40kahalawai.com
>>>
>>> This email sent to [email protected]
>>
>> Johnny Miller
>> Kahalawai Media Corp
>> http://www.kahalawai.com
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
>>
>> This email sent to [email protected]
>
Johnny Miller
Kahalawai Media Corp
http://www.kahalawai.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]