Upgraded IM 14.3 to 14.4 - NoClassDefFoundError: Could not initialize class com.fasterxml.jackson.annotation.JsonInclude$Value
search cancel

Upgraded IM 14.3 to 14.4 - NoClassDefFoundError: Could not initialize class com.fasterxml.jackson.annotation.JsonInclude$Value

book

Article ID: 274257

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Manager

Issue/Introduction

Upgraded IM from 14.3.x to 14.4 and now when trying to access the IM User Console we see an internal error with below error:

ERROR [io.undertow.request] (default task-562) UT005023: Exception handling request to /iam/im/identityEnv/: java.lang.NoClassDefFoundError: Could not initialize class com.fasterxml.jackson.annotation.JsonInclude$Value
 at com.fasterxml.jackson.databind.cfg.ConfigOverrides.<init>(ConfigOverrides.java:53) [jackson-databind-2.9.2.jar:2.9.2]
 at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:564) [jackson-databind-2.9.2.jar:2.9.2]
 at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:480) [jackson-databind-2.9.2.jar:2.9.2]

 

Environment

Release : 14.4

Cause

The IM 14.4 should only contain the following jackson*.jar files under the \iam_im.ear\library folder:

jackson-annotations-2.9.2.jar
jackson-core-2.9.2.jar
jackson-databind-2.9.2.jar

The error was caused by the customer's system having copies of 2.4.1 version of jackson*.jar files in the \iam_im.ear\library folder also which was causing conflicts.

Resolution

Removing the conflicting 2.4.1 copies of the jackson*.jar files resolved that specific error.