From: Brandon P. <bp...@gm...> - 2010-10-01 21:07:46
|
On Fri, Oct 1, 2010 at 11:26 AM, Alan Kennedy <jyt...@xh...> wrote: > Two suggestions. > > 1. What is the access modifier on ServiceInstance? Is it public, > protected or private? public > For example, for your requirement, you > would need to do > > import sys > sys.path.append(jar_file) > sys.add_package("com.vmware.vim25.mo") Still gives me 'cannot import name ServiceInstance' I think Alex was right and we may have a classloader issue. I know that we are messing with the class loader a little bit...will have to do some more investigation with that Thanks |