Quantcast
Viewing all articles
Browse latest Browse all 2218

Error on deploying a plugin on vSphere 6.5.0.13000

Hello,

I'm trying to deploy a html plugin in vsphere and I used plugin-seed 0.9.8 to create the structure of my plugin.

With this plugin we try to connect on a VRO 7.3 REST API.

For that we use RestTemplate in the service (com.springframework.web version 3.1.4) and we got this error :

 

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'WorkflowClientAccountService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'WorkflowClientAccountServiceImpl' defined in URL [bundleentry://333.fwk1820650863/META-INF/spring/bundle-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/http/client/ClientHttpRequestFactory

 

Here my MANIFEST.MF file

Manifest-Version: 1.0 Bundle-Vendor: VMware Bundle-Version: 1.0.0 Tool: Bundlor 1.1.0.RELEASE Bundle-Name: vhm-service Bundle-ManifestVersion: 2 Bundle-SymbolicName: com.orange.vhm.vhm-service Bundle-Classpath: ., "lib/httpclient-4.5.5.jar", "lib/httpcore-4.4.9.jar", "lib/jackson-annotations-2.0.1.jar", "lib/spring-security-core-4.1.0.RELEASE.jar", "lib/spring-flex-core-1.5.2.RELEASE.jar" Export-Package: com.orange.vhm.services;version="1.0.0", com.orange.vhm.mvc;version="1.0.0" Import-Package: org.apache.commons.logging;version="1.1.1", com.vmware.vise.data;version="0", com.vmware.vise.data.query;version="0", com.vmware.vise.data.uri;version="0", com.vmware.vise.usersession;version="0", com.vmware.vise.security;version="0", com.vmware.vise.vim.data;version="0", com.google.gson;version="2.3.1", javax.servlet.http;version="3.0", javax.net.ssl;version="0", org.springframework.beans.factory.annotation;version="3.1.4", org.springframework.http;version="3.1.4", org.springframework.stereotype;version="3.1.4", org.springframework.web.bind.annotation;version="3.1.4", org.springframework.core;version="3.1.4", org.springframework.util;version="3.1.4", org.springframework.web;version="3.1.4"

 

Someone can explain what I'm doing wrong.

 

Thanks

 

Mickael DABERNAT


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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