Using Example4.Java, Provided By OTM, Java.Lang.ClassNotFoundException Error Occurs
(Doc ID 864274.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Transportation Management - Version 5.5.04 to 5.5.05.07 [Release 5.5]Information in this document applies to any platform.
This problem can occur on any platform.
Symptoms
-- Problem Statement:
On 5.5.04, When attempting to run the Example4.java ( JAVA API provided by OTM) to describe the entity names, the following error occurs:
ERROR
IncoTermProfile
incoTermProfileName java.lang.String
isCompatible java.lang.Boolean
Exception in thread "main" java.lang.ClassNotFoundException: glog.ejb.rates.db.DistanceData
java.lang.ClassNotFoundException: glog.ejb.rates.db.DistanceData
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at glog.integration.clientapi.ClientAPIImpl.describeEntity(ClientAPIImpl.java:602)
at DescribeEntity.main(DescribeEntity.java:16)
domainName java.lang.String
incoTermProfileXid java.lang.String
incoTermProfileGid java.lang.String
incoTermProfileName java.lang.String
isCompatible java.lang.Boolean
Exception in thread "main" java.lang.ClassNotFoundException: glog.ejb.rates.db.DistanceData
java.lang.ClassNotFoundException: glog.ejb.rates.db.DistanceData
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at glog.integration.clientapi.ClientAPIImpl.describeEntity(ClientAPIImpl.java:602)
at DescribeEntity.main(DescribeEntity.java:16)
domainName java.lang.String
incoTermProfileXid java.lang.String
incoTermProfileGid java.lang.String
-- Steps To Reproduce:
The issue can be reproduced at will with the following steps:
1. Try to run the Example4.java ( JAVA API) provided by OTM
2. See the error as described above
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |