Hello,
I recently started using the JAVA API for vSphere Management and have setup my Java Development environment.
So far, I am able to connect to the vCenter and make some basic tasks like cloneVM, power on/off etc through the vimPort.cloneVmTask(...)
However, I am unable to use any of the ManagedObjects in my project. I would like to use objects such as VirtualMachine or HostSystem. As per the documentation I see a lot of methods in these classes which I think are very useful.
I have included the vim25.jar into my build path (downloaded from vSphere Web Client SDK and vSphere Management SDK) but still unable to get these classes.
Anyone has an idea what I am doing wrong? Anyone has a solution?
Thanks in advance