跳转到主内容

将 vCenter 升级到版本 7.0 U3 后, vCenter 插件部署失败

Views:
31
Visibility:
Public
Votes:
0
Category:
element-plug-in-for-vcenter-server<a>2008946901</a><a>vCenter 插件部署失败</a>
Specialty:
hci
Last Updated:

适用场景

  • 适用于vCenter Server的NetApp Element 插件(最多4.10.0)
  • VMware vCenter版本7.0 U3 - 7.0 U3h

问题描述

  • 将vCenter Server升级到版本7.0 U3后、适用于vCenter Server的Element插件无法部署
  • 错误示例:
    • com.vmware.vise.core.model.exception.CompositeException: CompositeException java.lang.reflect.InvocationTargetException java.lang.Exception: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping': Invocation of init method failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter] for bean with name 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0' defined in URL [bundleentry://410.fwk1004908647/WEB-...ntextRest.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter cannot be found by com.solidfire.vcp.solidfire-war_4.7.0 Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter] for bean with name 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0' defined in URL [bundleentry://410.fwk1004908647/WEB-...ntextRest.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter cannot be found by com.solidfire.vcp.solidfire-war_4.7.0 com.vmware.vise.extensionfw.impl.OsgiBundleDeployer.throwIfNeeded(OsgiBundleDeployer.java:346) com.vmware.vise.extensionfw.impl.OsgiBundleDeployer.deploySubsystem(OsgiBundleDeployer.java:494) com.vmware.vise.extensionfw.impl.OsgiBundleDeployer.deploy(OsgiBundleDeployer.java:96) com.vmware.vise.extensionfw.impl.PackagesDeployer.deployInternalPlugin(PackagesDeployer.java:614) com.vmware.vise.extensionfw.impl.PackagesDeployer.deployPlugin(PackagesDeployer.java:565) com.vmware.vise.extensionfw.impl.PackagesDeployer.access$100(PackagesDeployer.java:52) com.vmware.vise.extensionfw.impl.PackagesDeployer$PackageDeployTask.call(PackagesDeployer.java:547) com.vmware.vise.extensionfw.impl.PackagesDeployer$PackageDeployTask.call(PackagesDeployer.java:536) java.util.concurrent.FutureTask.run(FutureTask.java:266) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) java.util.concurrent.FutureTask.run(FutureTask.java:266) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:748)
       
  • HTTP Status 500 – Internal Server Error 可能会显示此消息
     
  • 备用错误:
    Error deploying plug-in. org.apache.felix.resolver.reason.ReasonException: Unable to resolve /usr/lib/vmware-vsphere-ui/server/work/tmp/4620870904457411146com.solidfire-4.9.0.0.esa/solidfire-dataservice-4.9.0.jar: missing requirement org.apache.aries.subsystem.core.archive.ImportPackageRequirement: namespace=osgi.wiring.package, attributes={}, directives={filter=(&(osgi.wiring.package=org.springframework.orm.hibernate4)(version>=0.0.0)), resolution=mandatory}, resource=/usr/lib/vmware-vsphere-ui/server/work/tmp/4620870904457411146com.solidfire-4.9.0.0.esa/solidfire-dataservice-4.9.0.jar org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1340)

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.