db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Hill <Thomas.K.H...@t-online.de>
Subject Re: ERROR 42X51 class not found
Date Sat, 24 Oct 2009 16:42:43 GMT
I am getting this error:

miniserver:/var/lib/derby/db-derby-10.5.3.0-bin/lib# java
derbyPk.Functions.TF_Clients_AI2
Exception in thread "main" java.lang.NoClassDefFoundError:
derbyPk/Functions/TF_Clients_AI2
Caused by: java.lang.ClassNotFoundException: derbyPk.Functions.TF_Clients_AI2
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: derbyPk.Functions.TF_Clients_AI2.  
Program will exit.

here the proof that classpath is set:
miniserver:/var/lib/derby/db-derby-10.5.3.0-bin/lib# echo $CLASSPATH
/var/lib/derby/db-derby-10.5.3.0-bin/lib/

and yes folder /var/lib/derby/db-derby-10.5.3.0-bin/lib/ does contain a folder
derbyPk and yes there is a file Functions.class and yes in Functions.java there
is a function TF_Clients_AI2 which is defined as public.

Thanks for your help
Thomas





Mime
View raw message