Resolving class loading errors
If a class loading error occurs while the CaseEventEmitter.war file is running, configure library sharing in the WebSphere® Application Server administration console.
About this task
Errors of type java.lang.NoSuchMethodError indicate class loading errors. Such
errors are usually caused by the classes of a JAR file inside the emitter conflicting with the
classes used by the application server, as shown in the following code
sample.
SRVE0283E: Exception caught while initializing context: java.lang.NoSuchMethodError: javax.json.Json.createPointer(Ljava/lang/String;)Ljavax/json/JsonPointer;
at com.ibm.dba.oi.events.SimpleJsonPath.toJsonPointer(SimpleJsonPath.java:237)
at com.ibm.dba.oi.events.BusinessEvent.get(BusinessEvent.java:92)
at com.ibm.dba.oi.events.BusinessEvent.getAsString(BusinessEvent.java:123)
at com.ibm.dba.oi.events.BusinessEvent.getAsStringNotNull(BusinessEvent.java:151)
at com.ibm.dba.oi.events.icm.IcmEvent.getIcmSolutionName(IcmEvent.java:29)
at com.ibm.oi.icm.event.emitter.IcmOiEmitter.recordLatestEvents(IcmOiEmitter.java:542)
at com.ibm.oi.icm.event.emitter.IcmOiEmitter.run(IcmOiEmitter.java:296)
..