[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-user
Subject: Re: [beanutils] Optional dependency on commons-collections (v3)
From: sebb <sebbaz () gmail ! com>
Date: 2021-04-22 22:10:48
Message-ID: CAOGo0VZ=4SzksLBwbomddBvMmCXeVcZFHKsXydFrinuzWt-yqA () mail ! gmail ! com
[Download RAW message or body]
On Thu, 22 Apr 2021 at 22:32, Alex Herbert <alex.d.herbert@gmail.com> wrote:
>
> On Thu, 22 Apr 2021 at 22:19, Christopher Schultz <
> chris@christopherschultz.net> wrote:
>
> > Gary,
> >
> > On 4/21/21 16:18, Gary Gregory wrote:
> > > You can scan the source files for import statements, of Commons
> > Collections
> > > packages, then see where those files/types are used from, then see where
> > > those files/typee are used from, and so on.
> >
> > I'd be happy to scan the source for, but I followed the instructions on
> > the web site[1] for getting the source code from git, but they don't
> > actually work.
> >
> > $ git clone https://gitbox.apache.org/repos/asf?p=commons-beanutils.git
> > Cloning into 'asf?p=commons-beanutils'...
> > fatal:
> > https://gitbox.apache.org/repos/asf?p=commons-beanutils.git/info/refs
> > not valid: could not determine hash algorithm; is this a git repository?
> >
> >
> It should be:
>
>
> git clone https://gitbox.apache.org/repos/asf/commons-beanutils.git
That works, but if you follow the URL it actually redirects to:
curl -I https://gitbox.apache.org/repos/asf/commons-beanutils.git
..
Location: https://gitbox.apache.org/repos/asf?p=commons-beanutils.git
The version with the ?p= qualifier only seems to be suitable for
browsing, whereas the other works for both clone and browsing.
I expect several of the Commons components have the same issue.
>
> You can also use the github mirror:
>
> https://github.com/apache/commons-beanutils
>
>
> > -chris
> >
> > [1] http://commons.apache.org/proper/commons-beanutils/scm.html
> >
> > > On Wed, Apr 21, 2021, 16:06 Christopher Schultz <
> > > chris@christopherschultz.net> wrote:
> > >
> > >> All,
> > >>
> > >> I'm trying to debug a problem in a deployment of a product where the
> > >> vendor has removed commons-collections-3.2.2.jar but kept
> > >> commons-beanutils-1.9.3.jar.
> > >>
> > >> We are getting NoClassDefFoundErrors in
> > >> org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor
> > >>
> > >> beanutils lists commons-collections (3.2.2) as an "optional" (runtime)
> > >> dependency, and I'm wondering under what conditions it's actually
> > >> necessary. I think I've found one (!) but what are the others?
> > >>
> > >> -chris
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> > >> For additional commands, e-mail: user-help@commons.apache.org
> > >>
> > >>
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> > For additional commands, e-mail: user-help@commons.apache.org
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic