CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 class not found exception

Print topic Send  topic

Author Message
harsha

Posts: 16
Posted: 10/04/2007, 9:32 PM

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

please let me know how to set the classpath and also wat to download to exceute my programme
View profile  Send private message
sonic

Posts: 8
Posted: 10/04/2007, 11:44 PM

Hi, Harsha! You need to download MySQL connector for Java by this link:
http://mirrors.uol.com.br/pub/mysql/downloads/connector/j/5.0.html

"Source and Binaries (zip) 5.0.7 8.3M"

Save the download file, mysql-connector-java-5.0.7.zip, to a temporary directory. The file size is about 8.5MB.

Unzip it to folder C:\Program Files\mysql-connector-java-5.0.7

Then if you use Apache Tomcat 5, copy file mysql-connector-java-5.0.7-bin.jar to folder: %Apache_HOME%\Common\lib

Else if don't use Apache Tomcat 5, just set to the classcath in projectsettings mysql-connector-java-5.0.7-bin.jar.

That's all.
View profile  Send private message
harsha

Posts: 16
Posted: 10/05/2007, 12:38 AM

now it still shows the same exception. and now am not able to get the class file of my java programme. Its not able to import anyof these import statements. Please tell me also how to get the connection from data base. am doing the from passed two weeks.



View profile  Send private message
harsha

Posts: 16
Posted: 10/05/2007, 3:29 AM

Am not able to import packages such as javax.servlet and many others . Please advice me how to correct all these. These i get during the compilation time.
But before this i was able to import suddenly wen i compiled again i was not able to import. Please help.
thanks in advance
View profile  Send private message
sonic

Posts: 8
Posted: 10/05/2007, 4:19 AM

You do this all in CCS? Or in some another place< for example in Eclipse?
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.