There are a couple of problems with this.
When I compile I get the warning.
$ javac -classpath
"jclouds-1.9.0-rc1/lib/*:src/main/java/:src/main/resources/"
src/main/java/org/jclouds/examples/rackspace/*.java
jclouds-1.9.0-rc1/lib/jclouds-slf4j-1.9.0.jar(org/jclouds/logging/slf4j/config/SLF4JLoggingModule.class):
warning: Cannot find annotation method 'value()' in type 'AutoService': class
file for com.google.auto.service.AutoService not found
1 warning
When the Cloud Block Storage smoke tests are run in `SmokeTest` I get the error.
Exception in thread "main" java.lang.IllegalStateException: Optional.get()
cannot be called on an absent value
at com.google.common.base.Absent.get(Absent.java:47)
at
org.jclouds.examples.rackspace.cloudblockstorage.CreateVolumeAndAttach.<init>(CreateVolumeAndAttach.java:116)
at
org.jclouds.examples.rackspace.cloudblockstorage.CreateVolumeAndAttach.main(CreateVolumeAndAttach.java:81)
at org.jclouds.examples.rackspace.SmokeTest.smokeTest(SmokeTest.java:72)
at org.jclouds.examples.rackspace.SmokeTest.main(SmokeTest.java:48)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/71#issuecomment-83010122