VMware {code} Community
Nullpoint
Contributor
Contributor

Issue Deploying on 6.5 u1e vsphere-ui: Package Conflicts

Hi,

We are currently having difficulties getting our product to deploy on the vsphere-ui server instance for 6.5 u1e.  Previous releases were fine, but it looks like the new PAR functionality is causing some issues for us.

Without using the plugin.xml "scope=global" our product fails to deploy with hundred of package resolution exceptions like the following:

[2018-01-23T11:30:12.336-05:00] [ERROR] plugin-deploy7                <DE0002E> Installation of par 'com.simplivity.web-client' version '13.27.6' failed. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.simplivity.web-client-13.27.6-com.simplivity.analytics' at version '13.27.6': Cannot resolve: com.simplivity.web-client-13.27.6-com.simplivity.analytics
    Resolver report:
        An Import-Package could not be resolved. Resolver error data <Import-Package: com.simplivity.common.data; version="[13.27.0,14.0.0)">. Caused by missing constraint in bundle <com.simplivity.web-client-13.27.6-com.simplivity.analytics_13.27.6>
             constraint: <Import-Package: com.simplivity.common.data; version="[13.27.0,14.0.0)">
            with attributes {module_scope=com.simplivity.web-client-13.27.6}

        Uses violation: <Import-Package: org.springframework.core; version="[3.1.0,3.1.1)"> in bundle <org.springframework.expression_3.1.0.RELEASE[1516724912262]>
             Resolver reported uses conflict for import
        Uses violation: <Import-Package: org.springframework.beans.factory.config; version="[3.1.0,3.1.1)"> in bundle <org.springframework.orm_3.1.0.RELEASE[1516724912265]>
            Found conflicts:
                package        'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]' used by 'org.springframework.aop.scope_3.1.0.RELEASE' in bundle 'org.springframework.aop_3.1.0.RELEASE[57]'
                package        'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]' used by 'org.springframework.aop.scope_3.1.0.RELEASE' in bundle 'org.springframework.aop_3.1.0.RELEASE[57]'
                package        'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]' used by 'org.springframework.beans.factory_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                package        'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]' used by 'org.springframework.aop.support_3.1.0.RELEASE' in bundle 'org.springframework.aop_3.1.0.RELEASE[57]'
                package        'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]' used by 'org.springframework.context.weaving_3.1.0.RELEASE' in bundle 'org.springframework.context_3.1.0.RELEASE[60]'
                package        'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]' used by 'org.springframework.beans.factory.support_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                package        'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]' used by 'org.springframework.beans.factory.annotation_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                package        'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[1516724912252]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[61]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                package        'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[1516724912252]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[61]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                package        'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[1516724912252]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[61]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                package        'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[1516724912252]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.core_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[61]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                package        'org.springframework.beans.support_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.beans.support_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]' used by 'org.springframework.aop.scope_3.1.0.RELEASE' in bundle 'org.springframework.aop_3.1.0.RELEASE[57]'
                package        'org.springframework.core.io.support_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[1516724912252]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.core.io.support_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[61]' used by 'org.springframework.aop.scope_3.1.0.RELEASE' in bundle 'org.springframework.aop_3.1.0.RELEASE[57]'
                package        'org.springframework.beans.factory_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.beans.factory_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]' used by 'org.springframework.aop.support_3.1.0.RELEASE' in bundle 'org.springframework.aop_3.1.0.RELEASE[57]'
                package        'org.springframework.beans.factory_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.beans.factory_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]' used by 'org.springframework.beans.factory.annotation_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                package        'org.springframework.beans.factory_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.beans.factory_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]' used by 'org.springframework.beans.factory.support_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'
                package        'org.springframework.beans.factory_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.beans.factory_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]' used by 'org.springframework.aop.scope_3.1.0.RELEASE' in bundle 'org.springframework.aop_3.1.0.RELEASE[57]'
                package        'org.springframework.beans.factory_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.beans.factory_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]' used by 'org.springframework.aop.scope_3.1.0.RELEASE' in bundle 'org.springframework.aop_3.1.0.RELEASE[57]'
                package        'org.springframework.core.convert_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[1516724912252]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.core.convert_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[61]' used by 'org.springframework.aop.scope_3.1.0.RELEASE' in bundle 'org.springframework.aop_3.1.0.RELEASE[57]'
                package        'org.springframework.core.convert_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[1516724912252]' used by 'org.springframework.beans.factory.config_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[1516724912242]'
                conflicts with 'org.springframework.core.convert_3.1.0.RELEASE' in bundle 'org.springframework.core_3.1.0.RELEASE[61]' used by 'org.springframework.beans_3.1.0.RELEASE' in bundle 'org.springframework.beans_3.1.0.RELEASE[59]'

 

We have isolated the issue to our "common" JAR.  This bundle provides our shared services and packages our third party dependencies in the JAR.  These dependencies are not exported in the manifest. 

We import some third party libraries, including the Spring frameworks.  The majority of our third party dependencies are handled as "Bundle-ClassPath" entries.

We're looking for any insight into this.

Thanks,

Bryant Martin, HPE SimpliVity

5 Replies
_vladi_
VMware Employee
VMware Employee

Hi Martin,

By enabling the OSGi sandboxing feature we have indeed raised the bar with regards to plugin dependencies to provide better plugin isolation. Those are completely inline with our best practices. I would recommend going through the following SDK blog post that is a deep dive into this particular topic: https://blogs.vmware.com/code/2017/01/17/osgi-specific-best-practices-developing-html-based-vsphere-...

The plugin should not bring libraries which are delivered by the HTML Client itself (see vsphere-ui\server\repository\ folder). If such are needed those should be handled as "Bundle-ClassPath" entries like you mentioned.

Nevertheless, you cannot make use of you own version of the Spring framework. This is at the core of the Client's platform so Spring is deployed already before your plugin comes in. Hence, your plugin bundles get wired against the Client's Spring version anyway regardless of what other versions your plugin comes with.

For this reason my assumption is that you have never actually used your own Spring which was probably being ignored in the old versions.

Could you please remove the Spring jars from your plugin and add the correct versioning in your MANIFEST.MF? 6.5U1 uses Spring 3.1.4 as a version but leave some room for follow up versions (for example with 6.7 RC for security reasons the Spring version has been bumped to 4.3.9 by the latest Virgo distribution).

Please let me know how that works.

Cheers,

Vladi

0 Kudos
Nullpoint
Contributor
Contributor

Hi Vladi,

Thank you for the quick followup.  To clarify we do not include Spring libs in our JAR, only import them. 

I'll read through the linked best practices (I was reading an older version I had found).  The only discrepency I can find is that our imports for Spring do not include a version.  I'll look into correcting that in our build configuration and report back.

Thank you again,

Bryant Martin, HPE SimpliVity

 

This is our Bundle-ClassPath and Import-Package sections of the manifest:

Bundle-ClassPath: .,vsphere-client-lib.jar,javax.ws.rs-api-2.0.1.jar,hk2-api-2.4.0-b34.jar,hk2-locator-2.4.0-b34.jar,

hk2-utils-2.4.0-b34.jar,osgi-resource-locator-1.0.1.jar,javax.inject-2.4.0-b34.jar,jersey-common-2.22.4.jar,

jersey-client-2.22.4.jar,jersey-media-json-jackson-2.22.4.jar,jersey-guava-2.22.2.jar,jersey-entity-filtering-2.22.4.jar,

commons-codec-1.9.jar,jackson-core-2.4.6.jar,jackson-annotations-2.4.6.jar,jackson-databind-2.4.6.jar,

jackson-jaxrs-json-provider-2.4.6.jar,jackson-jaxrs-base-2.4.6.jar,jackson-module-jaxb-annotations-2.4.6.jar,

javax.annotation-api-1.2.jar,slf4j-api-1.7.19.jar,jcl-over-slf4j-1.7.19.jar,log4j-over-slf4j-1.7.19.jar,

logback-classic-1.1.6.jar,logback-core-1.1.6.jar,commons-codec-1.9.jar,commons-lang-2.6.jar,commons-io-2.4.jar,

commons-collections-3.2.2.jar,jaxp-api-1.4.5.jar,libthrift-0.10.0.jar,aspectjrt-1.8.7.jar,analytics-api-9.22.0.jar,

cfgdb-api-23.9.0.jar,common-types-16.1.0.jar,control-types-12.7.0.jar,ippools-api-12.7.0.jar,control-api-12.7.0.jar,

file-restore-api-12.7.0.jar,upgrade-api-9.16.0.jar,hval-21.6.3.jar,utils-10.3.0.jar,deploy-api-11.5.0.jar,

hal-api-2.0.2.jar,guest-operations-api-21.6.3.jar,remoteps-api-7.3.11.jar,jsch-0.1.54.jar,jackson-core-2.4.6.jar,

jackson-databind-2.4.6.jar,vijava-7.0.1.jar,sms-6.0.svt1.jar,jaxws-rt-2.2.10.jar,bcprov-jdk15on-1.56.jar,

bcpkix-jdk15on-1.56.jar,snakeyaml-1.18.jar,commons-validator-1.5.1.jar,jackson-annotations-2.4.6.jar,dom4j-1.6.jar,

commons-lang3-3.4.jar,jaxb2-basics-runtime-0.11.0.jar,jaxb-api-2.2.12-b140109.1041.jar,jaxws-api-2.2.11.jar,

javax.xml.soap-api-1.3.7.jar,javax.annotation-api-1.2.jar,jsr181-api-1.0-MR1.jar,jaxb-core-2.2.10-b140802.1033.jar,

jaxb-impl-2.2.10-b140802.1033.jar,policy-2.4.jar,gmbal-api-only-3.1.0-b001.jar,stax-ex-1.7.7.jar,streambuffer-1.5.3.jar,

mimepull-1.9.4.jar,FastInfoset-1.2.13.jar,ha-api-3.1.9.jar,saaj-impl-1.3.25.jar,woodstox-core-asl-4.2.0.jar,

stax2-api-3.1.1.jar,resolver-20050927.jar,commons-beanutils-1.9.2.jar,commons-digester-1.8.1.jar,

management-api-3.0.0-b012.jar,stax-api-1.0-2.jar,activation-1.1.jar

 

Import-Package: com.vmware.vise.data,com.vmware.vise.data.query,com.vmware.vise.security,com.vmware.vise.usersession,

com.vmware.vise.vim.data,javax.naming,javax.naming.directory,flex.messaging,javax.net.ssl,

javax.servlet.http;version="[3.0,4)",org.apache.commons.logging;version="[1.1,2)",

org.aspectj.lang,org.aspectj.lang.reflect,org.aspectj.runtime.internal,org.aspectj.runtime.reflect,

org.springframework.beans.factory.annotation,org.springframework.flex.core,org.springframework.http,

org.springframework.stereotype,org.springframework.web.bind.annotation,org.springframework.web.context.request,

javax.activation,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,org.eclipse.virgo.medic.log.logback,

javax.servlet;version="[3.0,4)"

0 Kudos
Nullpoint
Contributor
Contributor

Hi Vladi,

Thank you for the quick followup.  To clarify we do not include Spring libs in our JAR, only import them. 

I'll read through the linked best practices (I was reading an older version I had found).  The only discrepency I can find is that our imports for Spring do not include a version.  I'll look into correcting that in our build configuration and report back.

Thank you again,

Bryant Martin, HPE SimpliVity

 

This is our Bundle-ClassPath and Import-Package sections of the manifest:

Bundle-ClassPath: .,vsphere-client-lib.jar,javax.ws.rs-api-2.0.1.jar,hk2-api-2.4.0-b34.jar,hk2-locator-2.4.0-b34.jar,

hk2-utils-2.4.0-b34.jar,osgi-resource-locator-1.0.1.jar,javax.inject-2.4.0-b34.jar,jersey-common-2.22.4.jar,

jersey-client-2.22.4.jar,jersey-media-json-jackson-2.22.4.jar,jersey-guava-2.22.2.jar,jersey-entity-filtering-2.22.4.jar,

commons-codec-1.9.jar,jackson-core-2.4.6.jar,jackson-annotations-2.4.6.jar,jackson-databind-2.4.6.jar,

jackson-jaxrs-json-provider-2.4.6.jar,jackson-jaxrs-base-2.4.6.jar,jackson-module-jaxb-annotations-2.4.6.jar,

javax.annotation-api-1.2.jar,slf4j-api-1.7.19.jar,jcl-over-slf4j-1.7.19.jar,log4j-over-slf4j-1.7.19.jar,

logback-classic-1.1.6.jar,logback-core-1.1.6.jar,commons-codec-1.9.jar,commons-lang-2.6.jar,commons-io-2.4.jar,

commons-collections-3.2.2.jar,jaxp-api-1.4.5.jar,libthrift-0.10.0.jar,aspectjrt-1.8.7.jar,analytics-api-9.22.0.jar,

cfgdb-api-23.9.0.jar,common-types-16.1.0.jar,control-types-12.7.0.jar,ippools-api-12.7.0.jar,control-api-12.7.0.jar,

file-restore-api-12.7.0.jar,upgrade-api-9.16.0.jar,hval-21.6.3.jar,utils-10.3.0.jar,deploy-api-11.5.0.jar,

hal-api-2.0.2.jar,guest-operations-api-21.6.3.jar,remoteps-api-7.3.11.jar,jsch-0.1.54.jar,jackson-core-2.4.6.jar,

jackson-databind-2.4.6.jar,vijava-7.0.1.jar,sms-6.0.svt1.jar,jaxws-rt-2.2.10.jar,bcprov-jdk15on-1.56.jar,

bcpkix-jdk15on-1.56.jar,snakeyaml-1.18.jar,commons-validator-1.5.1.jar,jackson-annotations-2.4.6.jar,dom4j-1.6.jar,

commons-lang3-3.4.jar,jaxb2-basics-runtime-0.11.0.jar,jaxb-api-2.2.12-b140109.1041.jar,jaxws-api-2.2.11.jar,

javax.xml.soap-api-1.3.7.jar,javax.annotation-api-1.2.jar,jsr181-api-1.0-MR1.jar,jaxb-core-2.2.10-b140802.1033.jar,

jaxb-impl-2.2.10-b140802.1033.jar,policy-2.4.jar,gmbal-api-only-3.1.0-b001.jar,stax-ex-1.7.7.jar,streambuffer-1.5.3.jar,

mimepull-1.9.4.jar,FastInfoset-1.2.13.jar,ha-api-3.1.9.jar,saaj-impl-1.3.25.jar,woodstox-core-asl-4.2.0.jar,

stax2-api-3.1.1.jar,resolver-20050927.jar,commons-beanutils-1.9.2.jar,commons-digester-1.8.1.jar,

management-api-3.0.0-b012.jar,stax-api-1.0-2.jar,activation-1.1.jar

 

Import-Package: com.vmware.vise.data,com.vmware.vise.data.query,com.vmware.vise.security,com.vmware.vise.usersession,

com.vmware.vise.vim.data,javax.naming,javax.naming.directory,flex.messaging,javax.net.ssl,

javax.servlet.http;version="[3.0,4)",org.apache.commons.logging;version="[1.1,2)",

org.aspectj.lang,org.aspectj.lang.reflect,org.aspectj.runtime.internal,org.aspectj.runtime.reflect,

org.springframework.beans.factory.annotation,org.springframework.flex.core,org.springframework.http,

org.springframework.stereotype,org.springframework.web.bind.annotation,org.springframework.web.context.request,

javax.activation,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,org.eclipse.virgo.medic.log.logback,

javax.servlet;version="[3.0,4)"

0 Kudos
_vladi_
VMware Employee
VMware Employee

Hi Martin,

Indeed, this first thing to do is specify versions for the Spring packages as 3.1.4 or above.

You have lots of dependencies/3rd party libs so if this is not enough please check those jars to see if they import Spring 3.1.0. It looks like the error is caused by a derived/implicit dependency from the 3rd party libraries via their uses declarations.

You can also remove the vsphere-client-lib.jar from your plugin: it is being used only to build the plugin against it but not bundling it inside your plugin. The same APIs are avaialble in the vSphere Client runtime which is what the plugin really calls after deployment. So this jar only increases the size of your plugin zip at the moment.

Please let me know how it goes and provide more logs/info in case the issue is still reproducible.

Thanks.

Cheers,

Vladi

jvitorino
Enthusiast
Enthusiast

Thank you Vladi,

We were able to work through our deployment issues based on your guidance.  We have running into another issue in 6.5u1 related to what appears to be a regression in behavior and possibly a defect.  I have opened a separate discussion on  this: Change in menu extension behavior in vSphere 6.5u1

Thanks again,

Jesse

0 Kudos