After upgrading to Spectrum 10.3 when using REST query such as:http://xx.xx.xx.xx:8888/spectrum/restful/alarms
you may see the following error:
<ns1:XMLFault><ns1:faultstring>java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.Utils</ns1:faultstring></ns1:XMLFault>
In Spectrum 10.3 the CXF version had been upgraded, which introduces some change in rest response format. Due to the changes it is not compatible to previous version.
During upgrade there is a possibility that either a file hasn't been replaced or a file has been added without removing the old version.
See the list of CXF files:
and the following files if they exist only once and in this version:
cxf-core-3.2.4.jarOn your OneClick Server please check the following folders:
In case of duplicates, please (re)move the old files.
That listing above is the current up to date list of files.
If you see duplicates or older files, delete then and that should resolve the issue.