Subject Re: Problem with connection to the database
Author khatchatour_davtjan
You have to include j2ee_connector-1_5-pfd2-classes.zip in you
classpath. It can be downloaded from java.sun.com

--- In Firebird-Java@y..., "ariel_calo" <ariel_calo@y...> wrote:
> Hello, my name is Ariel.
> I try to load JDBC driver and obtain a connection to the database :
>
> Class.forName("org.firebirdsql.jdbc.FBDriver");
> connection=DriverManager.getConnection
("jdbc:firebirdsql:localhost/3050:C:\\Program Files\\Firebird/
\\examples\\EMPLOYEE.GDB", "sysdba", "masterkey");
> statement=connection.createStatement();
>
> but I hava this exception:
>
> java.lang.NoClassDefFoundError: javax/resource/ResourceException
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:130)
> at EnlaceDataBase.<init>(EnlaceDataBase.java:14)
> at EnlaceDataBase.main(EnlaceDataBase.java:64)
> Exception in thread "main"
>
> Somebody can help me?. Thank you, Ariel.