[WARN ] http-nio-5090-exec-38 o.s.w.s.mvc.method.annotation.ExceptionHandlerExceptionResolver Failure in @ExceptionHandler com.vmware.nsxv.html.mvc.controller.NGCManagementController#exceptionHandler(Exception) java.lang.NoSuchMethodError: org.springframework.http.MediaType.getCharSet()Ljava/nio/charset/Charset;
at com.vmware.nsxv.html.json.mapper.NsxH5HttpMessageConverter.getJsonEncoding(NsxH5HttpMessageConverter.java:139)
at com.vmware.nsxv.html.json.mapper.NsxH5HttpMessageConverter.writeInternal(NsxH5HttpMessageConverter.java:96)
at org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:227)
VMware NSX for vSphere 6.4.x
VMware vCenter Server 7.0.x
This issue is resolved in VMware NSX for vSphere 6.4.11 available at Broadcom Downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.
Workaround:
To work around the issue, the Spring version of VC needs to be downgraded so that it can work with Plugins having older Spring versions.
Follow the below steps to make the necessary changes:
1 Open /etc/vmware/vmware-vmon/svcCfgfiles/vsphere-ui.json for editing
2 Edit this line: //“-DuseOldSpring=true” to become “-DuseOldSpring=true"
3 Restart h5 client service via these commands:
service-control --stop vsphere-ui service-control --start vsphere-ui
Impact/Risks:
With the latest Virtual Center (70u3/7.0.3), NSX plugin having version 6.4.10 and lower won't work.