Trying to set up Amazon S3 filesystem in Apache Co

2019-05-31 02:20发布

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?

3条回答
欢心
2楼-- · 2019-05-31 02:40

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.

查看更多
做自己的国王
3楼-- · 2019-05-31 02:50

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.

查看更多
Lonely孤独者°
4楼-- · 2019-05-31 02:55

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.

查看更多
登录 后发表回答