db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zithulele Basil Shange" <zithule...@cibecs.com>
Subject RE: No suitable driver for ij
Date Tue, 15 Aug 2006 06:19:40 GMT
Hi Jeremy,

The "NoClassDefFoundError" usually occurs when you have two or more of the
same classes from different jars or zip files. Can you submit the
stacktrace?

Zithulele

-----Original Message-----
From: Jeremy Foot [mailto:jeremy@thefeet.net] 
Sent: 14 August 2006 11:57 PM
To: Derby Discussion
Subject: Re: No suitable driver for ij

Darn. Got completely explicit with all parts of the url (
jdbc:derby://127.0.0.1:1527/SystemDatabase ).

Got a class loader error (NoClassDefFoundError) now, so it is class path

Jeremy

On 14 Aug 2006, at 2:52 am, Craig L Russell wrote:

> Hi Jeremy,
>
> Often the "no suitable driver found" message is an incorrect url, 
> assuming that your classpath is set up ok (which is usually the case 
> if you can get to the ij program itself).
>
> So what's your url?
>
> Craig
>
> On Aug 13, 2006, at 6:20 PM, Jeremy Foot wrote:
>
>> I have derby working fine and can access it through various tools 
>> using the JDBC driver. I am trying to use the bundled ij tool to 
>> import some data from a csv file.
>>
>> ij runs fine and has the appropriate classpath, as far as I can tell. 
>> Certainly it has a path to the JDBC jar library, including file name.
>>
>> When I try to connect to derby, it fails with "No suitable driver 
>> found".
>>
>> If the CLASSPATH was wrong, I would expect a "ClassNotFound" 
>> exception and a stack trace or is ij catching this?
>>
>> I am running Derby is 10.1.1 on Windose XP
>>
>> Gratefull for pointers and stuff I've already picked up from the list.
>>
>> Jeremy
>>
>>
>>
>> 		
>> ___________________________________________________________ Now you 
>> can scan emails quickly with a reading pane. Get the new Yahoo! Mail.
>> http://uk.docs.yahoo.com/nowyoucan.html
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com P.S. A good JDO? O, Gasp!
>


		
____________________________________________________ 
 
Yahoo! Photos is now offering a quality print service from just 7p a photo.
http://uk.photos.yahoo.com


Mime
View raw message