[JNBException] - ErrorPluginFailedToLoad: NoClassDefFound - Missing class files

 

Problem Description:


DataSplice cannot load one or more required Maximo class files.

 

Common Causes:

  • Incorrect JavaClasspath setting.
  • DataSplice does not have access or permission to .jar/.class file.
  • Maximo and DataSplice have different versions of .jar/.class files.

 

Fixes:

  • Copy Maximo's current class files from the Maximo server to the DataSplice server (recommended).  Or, verify DataSplice server has network access to reach Maximo classes over the network.
  • Verify all necessary class/jar files are accounted for. (Maximo Setup: http://docs.datasplice.com/display/DOC/Configuring+the+Maximo+Integration+Plugin)
  • Update the JavaClasspath setting to point to the current class files.  
  • Check for typing mistakes.

 

Example Error Logs & Stack Trace (../Server/logs/):


ErrorPluginFailedToLoad
ErrorInitializingJavaInterfaceToMaximo
DataSplicePluginForMaximoStatus = JavaErrors
JavaStatus = ErrorJavaNotLoadedRequiresServerRestart
JavaStatusDetails

MaximoProxy.Java.JavaInvocationException : Basic Information:
  Exception of type 'com.jnbridge.jnbcore.JNBException' was thrown.
  
Error Details:
  Exception Type: MaximoProxy.Java.JavaInvocationException
  Java method invocation exception. Method: getString ()
  
JNBridgeDotNetStackTrace:

  at com.jnbridge.jnbproxy.ExceptionFactory.throwException(JNBException e, Hashtable objMap)  
  at java.lang.reflect.Method.invoke(Object p1, Object[] p2)  
  at MaximoProxy.Java.JavaObjectBinding.Invoke(String methodName, MethodLookupStyle lookupStyle, Object[] parameters)
  
JNBridgeDotNetExceptions:

  java.lang.reflect.InvocationTargetException: Exception of type 'com.jnbridge.jnbcore.JNBException' was thrown.
  
JavaStackTrace:

  java.lang.reflect.InvocationTargetException  
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
  at java.lang.reflect.Method.invoke(Unknown Source)  
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
  at java.lang.reflect.Method.invoke(Unknown Source)  
  at com.jnbridge.jnbcore.JNBDispatcher.objectVirtualCall(Unknown Source)  
  at com.jnbridge.jnbcore.JNBDispatcher.call(Unknown Source)  
  at com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.a(Unknown Source)  
  at com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.handleRequest(Unknown Source)
  Caused by: java.lang.NoClassDefFoundError: com/ibm/icu/util/Calendar  
  at psdi.server.CronTaskManager.<init>(CronTaskManager.java:171)  
  at psdi.server.CronTaskManager.<init>(CronTaskManager.java:493)  
  at psdi.server.MXServer.<init>(MXServer.java:492)  
  at psdi.server.MXServer.getMXServer(MXServer.java:503)  
  at psdi.util.Version.getString(Version.java:271)  ... 12 more
  Caused by: java.lang.ClassNotFoundException: com.ibm.icu.util.Calendar  
  at java.net.URLClassLoader$1.run(Unknown Source)  
  at java.net.URLClassLoader$1.run(Unknown Source)  
  at java.security.AccessController.doPrivileged(Native Method)  
  at java.net.URLClassLoader.findClass(Unknown Source)  
  at java.lang.ClassLoader.loadClass(Unknown Source)  
  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)  
  at java.lang.ClassLoader.loadClass(Unknown Source)  ... 17 more
  
JavaExceptions:

  java.lang.NoClassDefFoundError: com/ibm/icu/util/Calendar
  java.lang.reflect.InvocationTargetException:
  

  
  

ADO.NET Database connection using connection profile = maximo

Database connection Ok


For additional assistance please email support@datasplice.com and we'd be happy to help!