VFS: Multiple providers registered for URL scheme "file"

2023-07-30 Thread Jenny Kwan
Hi,

I'm getting started with VFS, using version 2.9.0. I'm calling
`VFS.getManager().init()`, and getting the exception:

org.apache.commons.vfs2.FileSystemException: Multiple providers registered
for URL scheme "file".

This is the cause of:

org.apache.commons.vfs2.FileSystemException: Could not load VFS
configuration from
"jar:file:/home//.m2/repository/org/apache/commons/commons-vfs2/2.9.0/commons-vfs2-2.9.0.jar!/org/apache/commons/vfs2/impl/providers.xml".

I checked out the jar and it looks fine; the providers.xml file has the
single provider for the file scheme, right after the default
UrlFileProvider.

I happen to be using Clojure with Leiningen. I checked out `lein classpath`
and there's no duplicate entry for this jar.

What should I be looking for?

Thanks,
Jenny


Re: Issue: Can not find Apache Commons DbUtils version 1.8

2023-07-30 Thread Gary Gregory
There is no version 1.8, what you see on the github site is a reflection of
whatever is in the master branch.

I'll take a look over the weekend at what tye state of the code is...

Gary

On Sun, Jul 30, 2023, 5:05 AM sharedata  wrote:

> Apache Commons DbUtils1.7 version have thread bugs in BeanProcessor
> class via SPI ServiceLoader.
>
> Apache Commons DbUtilsgithub website have declared version 1.8, but
> the apache officialwebsite and maven repository all still stay in 1.7
> old version.
>
>
>
>
> See:
>
> https://github.com/apache/commons-dbutils
>
> https://commons.apache.org/proper/commons-dbutils/download_dbutils.cgi
>
> https://mvnrepository.com/artifact/commons-dbutils/commons-dbutils