ahgittin opened a new pull request #1279:
URL: https://github.com/apache/brooklyn-server/pull/1279
the `wrap` is needed to avoid the following error at runtime when trying to
instantiate aws-s3 using guice
```
1) Error in custom provider, java.lang.NoClassDefFoundError:
org.jclouds.http.options.GetOptions not found by aws-s3 [134]
at
org.jclouds.aws.s3.config.AWSS3HttpApiModule.provide(AWSS3HttpApiModule.java:67)
while locating org.jclouds.s3.S3Client
for the 2nd parameter of
org.jclouds.s3.config.S3HttpApiModule.provideBucketToRegion(S3HttpApiModule.java:88)
at
org.jclouds.s3.config.S3HttpApiModule.provideBucketToRegion(S3HttpApiModule.java:88)
while locating com.google.common.cache.CacheLoader<java.lang.String,
com.google.common.base.Optional<java.lang.String>> annotated with
@org.jclouds.s3.Bucket()
for the 1st parameter of
org.jclouds.s3.config.S3HttpApiModule.bucketToRegion(S3HttpApiModule.java:145)
at
org.jclouds.s3.config.S3HttpApiModule.bucketToRegion(S3HttpApiModule.java:145)
while locating com.google.common.cache.LoadingCache<java.lang.String,
com.google.common.base.Optional<java.lang.String>> annotated with
@org.jclouds.s3.Bucket()
for the 1st parameter of
org.jclouds.s3.functions.GetRegionForBucket.<init>(GetRegionForBucket.java:42)
at
org.jclouds.s3.functions.GetRegionForBucket.class(GetRegionForBucket.java:34)
while locating org.jclouds.s3.functions.GetRegionForBucket
while locating com.google.common.base.Function<java.lang.String,
com.google.common.base.Optional<java.lang.String>> annotated with interface
org.jclouds.s3.Bucket
Caused by: java.lang.NoClassDefFoundError:
org.jclouds.http.options.GetOptions not found by aws-s3 [134]
at com.sun.proxy.$Proxy168.<clinit>(Unknown Source)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]