You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by vaibhav <vi...@gmail.com> on 2009/05/28 14:45:47 UTC

Cayenne driver load error

I am trying Cayenne quick start guide, at step where I have to click to
Cayenne generate db schema , when I click on Tools>Generate database Schema,
I get , following error, driver load error:
jdbc:mysql://localhost:3306/mediafxtest, I checked the classpath option and
added , jdbc driver there but still the same results

Re: Cayenne driver load error

Posted by vaibhav <vi...@gmail.com>.
yeah I had restarted it but no  luck

On Thu, May 28, 2009 at 7:24 PM, Michael Gentry <mg...@masslight.net>wrote:

> I've sometimes needed to restart Cayenne Modeler after adding a JDBC
> JAR to the Modeler's classpath.  See if that helps.
>
> mrg
>
>
> On Thu, May 28, 2009 at 8:45 AM, vaibhav <vi...@gmail.com> wrote:
> > I am trying Cayenne quick start guide, at step where I have to click to
> > Cayenne generate db schema , when I click on Tools>Generate database
> Schema,
> > I get , following error, driver load error:
> > jdbc:mysql://localhost:3306/mediafxtest, I checked the classpath option
> and
> > added , jdbc driver there but still the same results
> >
>

Re: Cayenne driver load error

Posted by Michael Gentry <mg...@masslight.net>.
I've sometimes needed to restart Cayenne Modeler after adding a JDBC
JAR to the Modeler's classpath.  See if that helps.

mrg


On Thu, May 28, 2009 at 8:45 AM, vaibhav <vi...@gmail.com> wrote:
> I am trying Cayenne quick start guide, at step where I have to click to
> Cayenne generate db schema , when I click on Tools>Generate database Schema,
> I get , following error, driver load error:
> jdbc:mysql://localhost:3306/mediafxtest, I checked the classpath option and
> added , jdbc driver there but still the same results
>

Re: Cayenne driver load error

Posted by vaibhav <vi...@gmail.com>.
I had deleted , entire tutorial in frustration, my bad, I 'll try it again
and report backthanks for pointing that out

On Thu, May 28, 2009 at 11:59 PM, Andrey Razumovsky <
razumovsky.andrey@gmail.com> wrote:

> Are you getting error message exact as "driver load
> error:jdbc:mysql://localhost:3306/mediafxtes"? If so, then you're just
> putting your URL to driver class field (which should be
> com.mysql.jdbc.Driver in your case).
>
> Andrey
>
> 2009/5/28 vaibhav <vi...@gmail.com>
>
> > I just downloaded Cayenne, (yesterday) it is version 2.0.4 and that is
> the
> > exact error message I get in the post
> >
> > On Thu, May 28, 2009 at 7:21 PM, Andrus Adamchik <andrus@objectstyle.org
> > >wrote:
> >
> > > Hi there,
> > >
> > > Which version of Cayenne is this and what is the exact error message?
> > >
> > > Thanks,
> > > Andrus
> > >
> > >
> > > On May 28, 2009, at 3:45 PM, vaibhav wrote:
> > >
> > >  I am trying Cayenne quick start guide, at step where I have to click
> to
> > >> Cayenne generate db schema , when I click on Tools>Generate database
> > >> Schema,
> > >> I get , following error, driver load error:
> > >> jdbc:mysql://localhost:3306/mediafxtest, I checked the classpath
> option
> > >> and
> > >> added , jdbc driver there but still the same results
> > >>
> > >
> > >
> >
>

Re: Cayenne driver load error

Posted by Andrey Razumovsky <ra...@gmail.com>.
Are you getting error message exact as "driver load
error:jdbc:mysql://localhost:3306/mediafxtes"? If so, then you're just
putting your URL to driver class field (which should be
com.mysql.jdbc.Driver in your case).

Andrey

2009/5/28 vaibhav <vi...@gmail.com>

> I just downloaded Cayenne, (yesterday) it is version 2.0.4 and that is the
> exact error message I get in the post
>
> On Thu, May 28, 2009 at 7:21 PM, Andrus Adamchik <andrus@objectstyle.org
> >wrote:
>
> > Hi there,
> >
> > Which version of Cayenne is this and what is the exact error message?
> >
> > Thanks,
> > Andrus
> >
> >
> > On May 28, 2009, at 3:45 PM, vaibhav wrote:
> >
> >  I am trying Cayenne quick start guide, at step where I have to click to
> >> Cayenne generate db schema , when I click on Tools>Generate database
> >> Schema,
> >> I get , following error, driver load error:
> >> jdbc:mysql://localhost:3306/mediafxtest, I checked the classpath option
> >> and
> >> added , jdbc driver there but still the same results
> >>
> >
> >
>

Re: Cayenne driver load error

Posted by vaibhav <vi...@gmail.com>.
I just downloaded Cayenne, (yesterday) it is version 2.0.4 and that is the
exact error message I get in the post

On Thu, May 28, 2009 at 7:21 PM, Andrus Adamchik <an...@objectstyle.org>wrote:

> Hi there,
>
> Which version of Cayenne is this and what is the exact error message?
>
> Thanks,
> Andrus
>
>
> On May 28, 2009, at 3:45 PM, vaibhav wrote:
>
>  I am trying Cayenne quick start guide, at step where I have to click to
>> Cayenne generate db schema , when I click on Tools>Generate database
>> Schema,
>> I get , following error, driver load error:
>> jdbc:mysql://localhost:3306/mediafxtest, I checked the classpath option
>> and
>> added , jdbc driver there but still the same results
>>
>
>

Re: Cayenne driver load error

Posted by Andrus Adamchik <an...@objectstyle.org>.
Hi there,

Which version of Cayenne is this and what is the exact error message?

Thanks,
Andrus

On May 28, 2009, at 3:45 PM, vaibhav wrote:

> I am trying Cayenne quick start guide, at step where I have to click  
> to
> Cayenne generate db schema , when I click on Tools>Generate database  
> Schema,
> I get , following error, driver load error:
> jdbc:mysql://localhost:3306/mediafxtest, I checked the classpath  
> option and
> added , jdbc driver there but still the same results


Re: Cayenne driver load error

Posted by Kevin Menard <ni...@gmail.com>.
I take it you mean you added the driver JAR to the classpath from the
preference within Cayenne?  Did you try restarting the modeler
afterward?

-- 
Kevin



On Thu, May 28, 2009 at 8:45 AM, vaibhav <vi...@gmail.com> wrote:
> I am trying Cayenne quick start guide, at step where I have to click to
> Cayenne generate db schema , when I click on Tools>Generate database Schema,
> I get , following error, driver load error:
> jdbc:mysql://localhost:3306/mediafxtest, I checked the classpath option and
> added , jdbc driver there but still the same results
>