Subject | Re: [Firebird-Java] problems with Class.forName |
---|---|
Author | HGFrey@t-online.de |
Post date | 2002-05-16T19:25:53Z |
"Harrison, Matthew" schrieb:
is a little bit ugly I think, because just for using JDBC 2.0
there ist no functional need for any classes of J2EE. Perhaps
there are others having a good explanation.
ciao
Hans Georg
>You just have to include the J2EE-jar to your classpath. This
> Hi all-
>
> I'm trying to test out firebird but am having trouble connecting.
>
> I get an
> java.lang.NoClassDefFoundError: javax/resource/ResourceException
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at com.kanisa.GSBuilder.DataAccess.DataObject.<init>(DataObject.java:39)
> at com.kanisa.GSBuilder.DataAccess.DataObjectFactory.getDataObject(DataObjectFactory.java:26)
> at com.kanisa.GSBuilder.DataAccess.DataAccessTester.testCreateBaseTypes(DataAccessTester.java:61)
> at java.lang.reflect.Method.invoke(Native Method)
> at junit.framework.TestCase.runTest(TestCase.java:166)
> at junit.framework.TestCase.runBare(TestCase.java:140)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:131)
> at junit.framework.TestSuite.runTest(TestSuite.java:173)
> at junit.framework.TestSuite.run(TestSuite.java:168)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:319)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:215)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:150)
>
is a little bit ugly I think, because just for using JDBC 2.0
there ist no functional need for any classes of J2EE. Perhaps
there are others having a good explanation.
ciao
Hans Georg