Question

I'm trying to use VFS S3 a plugin for the Apache Commons VFS for Amazon S3.

I've included the jar and it's recognising the s3 schema.

However when I try to open a file (which is public, I can open it on my web browser), I get this error:

Could not create a file system manager of class "org.apache.commons.vfs.impl.StandardFileSystemManager".
>> org.apache.commons.vfs.VFS.createManager(VFS.java:93)
>> org.apache.commons.vfs.VFS.getManager(VFS.java:47)

What should I do?

Was it helpful?

Solution

I've fixed this myself another way. Turns out that library depends on some other java libraries (like log4j from apache and jets3t from amazon). It just wasn't giving a helpful error message at all.

OTHER TIPS

You should debug it and fix it yourself, or contact the vendor of the library.

By "vendor", I mean the person/entity/organization who distributes the software, not necessarily "who is selling the library", heh.

Please check out the new VFSLib Java library. It comes with support for Amazon S3, Google Drive, and Dropbox altogether. Get premium support for first-hand information directly from vendor.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top