Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

Issue Deploying on 6.5 u1e vsphere-ui: Package Conflicts

$
0
0

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


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>