Quantcast
Viewing all articles
Browse latest Browse all 2218

Unable to satisfy dependency "org.springframework.http" on vCenter 5.5.1

[2017-05-25 23:25:45.806] [ERROR] TCP Connection(9)-127.0.0.1 org.eclipse.virgo.medic.eventlog.default DE0002E Installation of bundle 'com.company.hi' version '5.0.0' failed. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.company.hi' at version '5.0.0': Cannot resolve: com.company.hi

  Resolver report:

  An Import-Package could not be resolved. Resolver error data <Import-Package: org.springframework.http; version="3.1.4">. Caused by missing constraint in bundle <com.company.hi_5.0.0>

  constraint: <Import-Package: org.springframework.http; version="3.1.4">

vSphere web client version: Version 5.5.0 Build 1588022

 

This works fine on 6.0 and 6.5 vCenter, but not on 5.5.1. I can see the jars on the server but for some reason it is unable to pick it up

localhost:/usr/lib/vmware-vsphere-client # find . -name *spring-web*

./server/repository/ext/spring-web-3.1.2.RELEASE.jar

./server/repository/ext/spring-webmvc-3.1.2.RELEASE.jar

./server/repository/ext/spring-webmvc-portlet-3.1.2.RELEASE.jar

localhost:/usr/lib/vmware-vsphere-client # pwd

/usr/lib/vmware-vsphere-client

 

in my MANIFEST.MF I have the following under import-packages

Import-Package: org.apache.commons.logging,

org.springframework.flex.core,

flex.messaging,

com.vmware.vise.usersession,

com.vmware.vise.data,

com.vmware.vise.data.query,

com.vmware.vise.data.uri,

com.vmware.vise.vim.data,

javax.activation,

javax.xml.ws,

javax.net.ssl,

javax.jws,

javax.servlet.http,

javax.xml.bind,

javax.xml.bind.annotation,

javax.xml.datatype,

javax.xml.namespace,

org.springframework.http,

org.springframework.beans.factory.annotation,

org.springframework.stereotype,

org.springframework.util,

org.springframework.web.bind.annotation,

org.springframework.web.servlet

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 2218

Trending Articles