Subject Re: [Firebird-Java] Re: Problem with connection to the database
Author David Jencks
While this will work, it is somewhat simpler to include the provided
mini-j2ee.jar in the classpath.

david jencks


On 2002.11.01 23:07:24 -0500 khatchatour_davtjan wrote:
> 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.
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>