Author Topic: ODWEK error - java.lang.NoClassDefFoundError: Could not initialize class com.ibm  (Read 9711 times)

Glenn

  • Guest
I just upgraded my 8.3 to version 8.5.0.4.  My Frameworks counterpart is seeing the following error:  java.lang.NoClassDefFoundError: Could not initialize class com.ibm.edms.od.ArsWWWInterface
IBM support is mentioning something about:
Copy the ArsSVTInterface.class file to a directory that is set by the   
CLASSPATH variable for the Web application server. Because this file is
part of a package (com.ibm.edms.od), you must mirror the package       
structure as subdirectories under this directory.                       
                                                                       
For example, if the directory <server_root>/classes is set by the       
CLASSPATH variable, then you must copy the ArsSVTInterface.class file to
the server_root>/classes/com/ibm/edms/od directory.                     

I do not see ArsSVTInterface.class in my ODApi.jar.  Please HELP!
Thanks...

javed.khan

  • Guest
You can find the said class at the location : ~installation directory~\servlets

Glenn

  • Guest
So if my CLASSPATH is as follows:
CLASSPATH=/opt/ondemand/www/api/ODApi.jar
All I have to do is copy the /opt/ondemand/www/servlets/ArsSVTInterface.class to /opt/ondemand/www/api directory and that will get everything working?

javed.khan

  • Guest
Yes it should work this way.....The other way is to append /opt/ondemand/www/servlets directory also to the classpath....