I changed the woolies.properties to new point to the woolies.543.properties and
now it works. Thanks for that hint. I suppose with the changes we discussed
earlier in getting this setup it messed this up.
However, I’m still having problems with one of my apps where I try to run it
from eclipse and I get this error (which I thought was going to be corrected
once that compile was working but no):
java.lang.NoSuchMethodError:
com.webobjects.appserver.WOCookie.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZ)V
com.webobjects.foundation.NSForwardException [java.lang.NoSuchMethodError]
com.webobjects.appserver.WOCookie.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZ)V:java.lang.NoSuchMethodError:
com.webobjects.appserver.WOCookie.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZ)V
at
com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowable(NSForwardException.java:39)
at
com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:124)
at
com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588)
at
com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532)
at
com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:546)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:370)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:445)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at
er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2092)
at
er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2057)
at COREApplication.dispatchRequest(COREApplication.java:461)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError:
com.webobjects.appserver.WOCookie.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZ)V
at
er.extensions.appserver.ERXApplication.addBalancerRouteCookie(ERXApplication.java:2853)
at
er.extensions.appserver.ERXApplication.addBalancerRouteCookieByNotification(ERXApplication.java:2836)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)
... 12 more
It works if I run the app from the terminal. What am I missing here?
> On May 8, 2017, at 7:52 AM, Theodore Petrosky <[email protected]> wrote:
>
> I think you are going to find that your Apple WebObjects files are hurt. Of
> course you will not be able to use the apple WebObjects.mpkg will not install
> WO. You will need to use the WOInstaller.jar.
>
> What do you have in your wobuild.properties (~/Library), and what about
> ~/Library/Application\ Support/WOLips/wolips.properties
>
> I spun my wheels for hours to get this to work again in Sierra.
>
>
>> On May 8, 2017, at 7:41 AM, Calven Eggert <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> I get the same error for this source.
>>
>>
>>> On May 7, 2017, at 5:57 PM, Theodore Petrosky <[email protected]
>>> <mailto:[email protected]>> wrote:
>>>
>>> So, you are trying to build ERExtensions only? What do you get when you do
>>> an ‘ant frameworks’ at the top level of your repo?
>>>
>>>
>>>> On May 7, 2017, at 4:23 PM, Calven Eggert <[email protected]
>>>> <mailto:[email protected]>> wrote:
>>>>
>>>> I’ve been installing my dev environment on a new Mac in Sierra however,
>>>> I’m having problems with one of my applications. When I build the Wonder
>>>> code I get an error with ERExtensions. See below. I’ve downloaded the
>>>> file org.apache.commons.lang3 cause of the error message but I still get
>>>> the error. I’m not sure where this new file should go but something tells
>>>> me this setup doesn’t feel quite right. Anyone else have the issue?
>>>>
>>>> Calven
>>>> ----------
>>>>
>>>> calven$ cd /Users/calven/WonderSource/Frameworks/Core/ERExtensions
>>>> calven$ ant
>>>> Buildfile:
>>>> /Users/calven/WonderSource/Frameworks/Core/ERExtensions/build.xml
>>>>
>>>> clean:
>>>>
>>>> ERExtensions.all:
>>>>
>>>> global.environment:
>>>>
>>>> global.properties:
>>>>
>>>> global.framework.clean:
>>>> [delete] Deleting directory /Users/calven/Roots/classes/ERExtensions
>>>>
>>>> build:
>>>>
>>>> ERExtensions.all:
>>>>
>>>> global.environment:
>>>>
>>>> global.properties:
>>>>
>>>> global.prepare:
>>>> [mkdir] Created dir: /Users/calven/Roots/classes/ERExtensions
>>>>
>>>> global.compile:
>>>>
>>>> global.dummy:
>>>> [wocompile] Compiling 524 source files to
>>>> /Users/calven/Roots/classes/ERExtensions
>>>> [wocompile]
>>>> /Users/calven/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/eof/ERXSortOrdering.java:5:
>>>> error: package org.apache.commons.lang3.builder does not exist
>>>> [wocompile] import org.apache.commons.lang3.builder.HashCodeBuilder;
>>>> [wocompile] ^
>>>> [wocompile]
>>>> /Users/calven/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/eof/qualifiers/ERXExistsQualifier.java:13:
>>>> error: package org.apache.commons.lang3 does not exist
>>>> [wocompile] import org.apache.commons.lang3.StringUtils;
>>>> [wocompile] ^
>>>> [wocompile]
>>>> /Users/calven/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/eof/qualifiers/ERXExistsQualifier.java:14:
>>>> error: package org.slf4j does not exist
>>>> [wocompile] import org.slf4j.Logger;
>>>> [wocompile] ^
>>>> [wocompile]
>>>> /Users/calven/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/eof/qualifiers/ERXExistsQualifier.java:15:
>>>> error: package org.slf4j does not exist
>>>> [wocompile] import org.slf4j.LoggerFactory;
>>>> [wocompile] ^
>>>> [wocompile]
>>>> /Users/calven/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/eof/ERXFetchResultCache.java:3:
>>>> error: package org.slf4j does not exist
>>>> [wocompile] import org.slf4j.Logger;
>>>> [wocompile] ^
>>>> [wocompile]
>>>> /Users/calven/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/eof/ERXFetchResultCache.java:4:
>>>> error: package org.slf4j does not exist
>>>> [wocompile] import org.slf4j.LoggerFactory;
>>>> [wocompile] ^
>>>> [wocompile]
>>>> /Users/calven/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/eof/qualifiers/ERXExistsQualifier.java:69:
>>>> error: cannot find symbol
>>>> [wocompile] static final Logger log =
>>>> LoggerFactory.getLogger(ERXExistsQualifier.class);
>>>> [wocompile] ^
>>>> [wocompile] symbol: class Logger
>>>> …
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list ([email protected]
>>>> <mailto:[email protected]>)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
>>>> <https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com>
>>>>
>>>> This email sent to [email protected] <mailto:[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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]