Subject | firebirdsql classes |
---|---|
Author | murphyp1 |
Post date | 2002-02-02T00:27:17Z |
When I try to use the driver in a standalone program on JDK 1.3.1, I
get the following error loading the driver:
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/resource/ResourceException
I found this class in the src/lib/connector.jar file and added it to
the classpath and then I got this error message:
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/transaction/xa/XAException
I found this class in the src/lib/jta-spec1_0_1.jar file and added it
to the classpath and then I got this error message:
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/sql/DataSource
I found this class in the src/lib/jdbc-3_0-pfd2-classes.zip file and
added it to the classpath and the program ran fine.
My question is if there is some piece of java that I have not
installed that would have included these classes, or should the
firebirdsql jar file copy those classes from those jars so that the
classpath does not get so ugly. Is there a single jar file which
includes all of these missing classes somewhere?
get the following error loading the driver:
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/resource/ResourceException
I found this class in the src/lib/connector.jar file and added it to
the classpath and then I got this error message:
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/transaction/xa/XAException
I found this class in the src/lib/jta-spec1_0_1.jar file and added it
to the classpath and then I got this error message:
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/sql/DataSource
I found this class in the src/lib/jdbc-3_0-pfd2-classes.zip file and
added it to the classpath and the program ran fine.
My question is if there is some piece of java that I have not
installed that would have included these classes, or should the
firebirdsql jar file copy those classes from those jars so that the
classpath does not get so ugly. Is there a single jar file which
includes all of these missing classes somewhere?