Re: ERRest and apache Commons Lang
Re: ERRest and apache Commons Lang
- Subject: Re: ERRest and apache Commons Lang
- From: Johann Werner <email@hidden>
- Date: Wed, 27 Mar 2019 10:31:33 +0100
Hi Samuel,
as it is a direct dependency of json-lib-2.4-jdk15.jar used by ERRest it would
probably be the best to add it to ERRest instead of Wonder-wide ERJars. Usage
of commons-lang3 instead of the old commons-lang should be encouraged.
jw
> Am 27.03.2019 um 00:02 schrieb Samuel Pelletier <email@hidden>:
>
> Hi,
>
> The current Wonder ERRest fail to produce json data with a
> NoClassDefFoundError:
> org/apache/commons/lang/exception/NestableRuntimeException referenced by
> JsonConfig, an old json library.
>
> I suspect this problem is limited to ant users like me.
>
> This class was part of common-lang.jar which was replaced in ERJar by
> common-lang3.jar. Common-lang changed the package to allows both major
> version to work together.
>
> I re-added the commons-lang-2.6.jar into my ERJar to make ERRest works again
> successfully. Is there any downside to push this into the official Wonder ?
> The jar could also be added into ERRest directly.
>
> Samuel
_______________________________________________
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