Comment on Tutorial - Using JDBC to connect to MySQL from Java Program By Rajan



Comment Added by : anbu

Comment Added at : 2009-04-08 02:41:17

Comment on Tutorial : Using JDBC to connect to MySQL from Java Program By Rajan
this is i got error msg when i run a my program . how to overcome any one pls helpme. java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at cod.focusLost(cod.java:368)
at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:213)
at java.awt.Component.processFocusEvent(Component.java:6108)
at java.awt.Component.processEvent(Component.java:5972)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.ja
va:1848)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeybo
ardFocusManager.java:889)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFoc
usManager.java:562)
at java.awt.Component.dispatchEventImpl(Component.java:4455)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. so how can i run this project
View Tutorial          By: milinda at 2010-12-17 10:01:23

2. i want to know about java related topic in simple
View Tutorial          By: saurav at 2010-04-29 04:39:55

3. Hi Devi, After you download the 5 programs you nee
View Tutorial          By: Ramlak at 2008-04-01 01:51:42

4. Thanks man, really very helpful..,.
Thanks

View Tutorial          By: Manish at 2012-10-18 06:19:03

5. THIS IS VERY SIMPLE AND EXCELENT PROGRAM.THIS PROG
View Tutorial          By: CHIRANJEET at 2011-02-05 12:13:54

6. im biginner of java programming, please give me in
View Tutorial          By: siva at 2011-11-04 06:40:45

7. hi,
there is no main method in SMSClient.ja

View Tutorial          By: raju at 2010-01-22 08:28:45

8. its really a good post... very informative..
View Tutorial          By: javagava at 2011-12-13 19:49:08

9. hi there, i was testing your code-samples,

View Tutorial          By: Douglas at 2011-04-07 22:35:56

10. I tried ....so this is best solution for understa
View Tutorial          By: rehnuma at 2015-03-30 12:29:38