Hi igreenfield and other jcloud experts,
Thanks for the replies. I meant to create a java APP based on your
vsphere-jclouds. I successfully build my MainApp.java (with a little
modification from
src/test/java/org/jclouds/vsphere/ContextBuilderTest.java) I got the
following errors:
[root@localhost vsphere]# java -jar
./target/vsphere-jar-with-dependencies.jar
Exception in thread "main" java.util.NoSuchElementException: key [vsphere]
not in the list of providers or apis: {apis=[stub]}
at org.jclouds.ContextBuilder.newBuilder(ContextBuilder.java:173)
at org.jclouds.vsphere.MainApp.main(MainApp.java:51)
Sounds like I should insert "vsphere" to a provider list. Should I also
need to make change on jcloud main code to make vsphere code work ? Any
suggestions will be appreciated.
-Liang
On Tue, Jun 17, 2014 at 11:59 PM, igreenfield <[email protected]>
wrote:
> Hi
> I don’t know about the CLI tool never use it.
> I guess you should use type “vsphere”
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jclouds/jclouds/pull/364#issuecomment-46402088>.
>
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/364#issuecomment-46631397