0

java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

i am getting this error after executing apache in Eclipse helios and i am using MYSQLyog ultimate

please help...how to remove this error...??

0

2 Answers 2

3

There are several ways to solve this issue however, this is generally the easiest.

  1. Copy the MySQL driver to your project in eclipse. It is a jar file that comes with the MySQL driver: MySQL Driver
  2. Right click on the jar and select 'Build Path' -> 'Add to Build Path'

That should do it. You might have to 'clean' you project (Project->Clean...).

Sign up to request clarification or add additional context in comments.

Comments

2

You need to add MySql jdbc driver in your classpath

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.