|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
The Web Buyer's Guide is your best source for white papers on a wide range of IT products and services. This Week's Featured White Papers: Building a Virtual Infrastructure from Servers to Storage by Network Appliance
|
|
#1
|
|||
|
|||
|
MySQL JDBC Connectivity
Hi Guys:
When I compiled my coed for jdbc connection, it was fine, until I ran thew application and it gives me a NoClassDefFound error. I added the jdbc driver to my calss path... Can somebody help.. Thanks |
|
#2
|
|||
|
|||
|
When you execute the java, try put the -classpath into command line.
|
|
#3
|
|||
|
|||
|
Thanks for replying, but -classpath didn't help. Is there something I could do.
|
|
#4
|
|||
|
|||
|
Do you have a "package" line statement at the top of your code? If so, are you running the code from the directoy specified in your package statement?
If not, try commenting out that package statement, and try running it again.
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#5
|
|||
|
|||
|
Thank You Frankie:
It helped! |
|
#6
|
|||
|
|||
|
Prabhaj,
Anytime! Glad it helped! |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > MySQL JDBC Connectivity |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|