I think the problem is that DriverManager doesn't see (register) calcite
specific META-INF/services/java.sql.Driver file in the classpath (not
copied?)

One work-around is to manually call:

Class.forName("org.apache.calcite.jdbc.Driver")
or directly
new org.apache.calcite.jdbc.Driver();



On Mon, Jul 29, 2019 at 7:40 AM Muhammad Gelbana <[email protected]>
wrote:

> What do you mean by "refresh" ?
>
> Thanks,
> Gelbana
>
>
> On Mon, Jul 29, 2019 at 4:12 AM Danny Chan <[email protected]> wrote:
>
> > Do you refresh the calcite-avatica jar in your local repository ?
> >
> > Best,
> > Danny Chan
> > 在 2019年7月28日 +0800 AM5:39,Muhammad Gelbana <[email protected]>,写道:
> > > When I try to debug through a test method on Eclipse, I regularly get
> > this
> > > error and I have to waste another 3-4 minutes to run the build again
> > using
> > > maven.
> > >
> > > After I run the maven build (mvn clean install), I get the chance to
> > debug
> > > through my test method a few times, then this method starts appearing
> > again
> > > and blocks the execution of my test method.
> > >
> > > Does anyone know how can I resolve this please ?
> > >
> > > Thanks,
> > > Gelbana
> >
>

Reply via email to