Issue #2669: com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date

Type: Bug ReoprtVersion: 2.8.5_06Priority: NormalStatus: ClosedReplies: 2
#1
Please report this error on http://www.objectdb.com/issue/new
com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date
java.lang.NoClassDefFoundError: java/sql/Date
    at objectdb/com.objectdb.o.VUT.<clinit>(VUT.java:68)
    at objectdb/com.objectdb.o.RAT.l(RAT.java:106)
    at objectdb/com.objectdb.o.RTT.g(RTT.java:136)
    at objectdb/com.objectdb.o.TSK.b(TSK.java:146)
    at objectdb/com.objectdb.o.TSK.c(TSK.java:96)
    at objectdb/com.objectdb.o.MST.at(MST.java:758)
    at objectdb/com.objectdb.o.MST.am(MST.java:259)
    at objectdb/com.objectdb.o.MST.<init>(MST.java:131)
    at objectdb/com.objectdb.o.MST.ap(MST.java:109)
    at objectdb/com.objectdb.o.MSF.Z0(MSF.java:190)
    at objectdb/com.objectdb.o.OMF.s(OMF.java:804)
    at objectdb/com.objectdb.jpa.EMF.s(EMF.java:130)
    at objectdb/com.objectdb.o.OMF.x(OMF.java:715)
    at objectdb/com.objectdb.jpa.EMF.createEntityManager(EMF.java:149)
    at tutorial/tutorial.Main.main(Main.java:19)
Caused by: java.lang.ClassNotFoundException: java.sql.Date
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
    ... 15 more

 

#2

Thank you for this report.

Any idea why java.sql.Date is not found in the classpath?

Which Java version are you using? Do you use the java.sql module?

ObjectDB Support
#3

Its looks class path issue. Its fixed now.

Thank you

Reply