REST API is no longer working after upgrade to CA Spectrum 10.3 release

Document ID : KB000112760
Last Modified Date : 10/09/2018
Show Technical Document Details
After the upgrade to 10.3 you may experience the following issues:
- Unable to enable the integration with CA UIM on the OneClick .
- HTTP 500 - Internal Server Error occurred, please reload Webclient. using the WebClient . 

Failure on the following REST API:

An exception is seen in the OneClick Tomcat log: 

SEVERE: Servlet.service() for servlet [CXFServlet] in context with path [/spectrum] threw exception [Servlet execution threw an exception] with root cause 
java.lang.NoSuchFieldError: REFLECTION 
CA Spectrum 10.3
Legacy JAR files in the $SPECROOT/tomcat/lib/ directory are conflicting with the new ones.
Please check the below jar versions in your spectrum environment and confirm all the jars are updated with latest version and make sure no old version exist. If any old version exists, please delete and try to perform the rest API queries. 

Files located in the following directories: 


1. Stop the Spectrum Tomcat service

2. Remove any jar files found to be in version conflict so only the most recent jar exists

3. Start the Spectrum Tomcat service
Additional Information:
A brief explanation about the java error: java.lang.NoSuchFieldError: REFLECTION 

public class NoSuchFieldError 
extends IncompatibleClassChangeError 

Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field. 

Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed. 

This indicates there is a version mismatch conflict. In 10.3 release, we have upgraded CXF version and which will have some change in rest response format, so in the spectrum code we have handled the response format change while parsing. Thus post Upgrade to 10.3 it is possible some of the above mentions jars may be in version conflict and prevent RESTful API from working.