Model Upload Failed with Java.lang.NoClassDefFoundError: Org/json/JSONException

(Doc ID 2253136.1)

Last updated on APRIL 07, 2017

Applies to:

Oracle Financial Services Profitability Management - Version 8.0.2 and later
Oracle Financial Services Asset Liability Management - Version 8.0.2 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)

Symptoms

On : 8.0.2 version, Install and Upgrade Issues

Model upload run via $FIC_DB_HOME/bin/upload.sh failed with the following error.

Error
Setting environments
LIBJARS Set as /OFSAAI/ofsa/ficapp/common/FICServer/lib/FICServer.jar:/OFSAAI/ofsa/ficapp/common/FICServer/lib/dateent.jar:/OFSAAI/ofsa/ficapp/common/FICServer/lib/UploadModelUtil.jar
Executing Process...
Exception in thread "main" java.lang.NoClassDefFoundError: org/json/JSONException
  at com.iflex.fic.ficml.JSPInitBean.defaultInitialize(JSPInitBean.java:225)
  at UploadModel.UploadDataModel.main(UploadDataModel.java:126)
Caused by: java.lang.ClassNotFoundException: org.json.JSONException
  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  ... 2 more


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms