Spectrum OneClick shows NoClassDefFoundError for WebswingUil
Article ID: 145413
After upgrading to 10.4.1, users are not able to launch OneClick. An error shows:
SPC-OCC-10267 An unexpected error occurred: java.lang.NoClassDefFoundError; org/webswing/tookit/api/WebswingUtil
The webswing-api.jar was loaded by tomcat but not by the jre.
We found that the oneclick.jnlp did not have this entry:
The jnlp had been copied from the 10.3.2 server as it was customized to allow for 32bit/64bit and mac os. The Webswing utility has been updated in 10.4.1 with a jar file.
The oneclick.jnlp file needs to load this jar.
To resolve this, add this entry to the $SPECROOT/tomcat/webapps/spectrum/oneclick.jnlp file:
We added that entry to the oneclick.jnlp and the OC client launches