Subject | Re: javax.resource.ResourceException: couldn't start local transaction |
---|---|
Author | mbch671 |
Post date | 2002-08-16T10:26:12Z |
I got a similar error message even when just trying to load the
driver (class):
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/resource/ResourceException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at TestFirebirdJDBC.main(TestFirebirdJDBC.java:9)
------------------------------------------------------
import java.sql.*;
public class TestFirebirdJDBC
{
public static void main(String pArgs[])
{
try
{
Class.forName("org.firebirdsql.jdbc.FBDriver");
System.out.println("Firebird driver loaded successfully.");
}
catch (ClassNotFoundException e)
{
System.out.println("Can\'t load the Firebird driver!!!.");
} // try
} // public static void main
} // public class TestFirebirdJDBC
------------------------------------------------------
My configuration is:
- Windows 2000, SP3
- Java: 1.4.0-01 (and 1.4.0)
- Firebird JCA-JDBC driver 1.0 Beta1
Driver location:
c:\java\j2re1.4.0_01\lib\ext\firebirdsql.jar
------------------------------------------------------
Btw, are there any new builds available? I checked out
sourceforge.net but honestly saying I don't like to setup a CVS/ANT
environment just to build the sources containing the latest fixes.
Thanks you
driver (class):
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/resource/ResourceException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at TestFirebirdJDBC.main(TestFirebirdJDBC.java:9)
------------------------------------------------------
import java.sql.*;
public class TestFirebirdJDBC
{
public static void main(String pArgs[])
{
try
{
Class.forName("org.firebirdsql.jdbc.FBDriver");
System.out.println("Firebird driver loaded successfully.");
}
catch (ClassNotFoundException e)
{
System.out.println("Can\'t load the Firebird driver!!!.");
} // try
} // public static void main
} // public class TestFirebirdJDBC
------------------------------------------------------
My configuration is:
- Windows 2000, SP3
- Java: 1.4.0-01 (and 1.4.0)
- Firebird JCA-JDBC driver 1.0 Beta1
Driver location:
c:\java\j2re1.4.0_01\lib\ext\firebirdsql.jar
------------------------------------------------------
Btw, are there any new builds available? I checked out
sourceforge.net but honestly saying I don't like to setup a CVS/ANT
environment just to build the sources containing the latest fixes.
Thanks you