Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro JSP
|
Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro JSP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 4th, 2006, 07:24 AM
Registered User
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default jdbc:mysql connectivity

Hi All, Pls Anyone help me how to overcome the below problem in
Jdbc:MYSql Connectivity

 I am Using j2sdk1.4.2_11,mysql 4.0,jdbc-mysql-j-connector 3.0.


When i am executing hte code it shows error as


" Exception in Java thread "main" java.lang.NoClassDefFoundError :org/aspect/j/lang/signature
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(class.java:141)
 at <class-name>.main(<source-code.java>:77) "


  I stored that jconnector.jar file under my %JAVA_HOME%/jre/lib/ext

CLASSPATH =c:\j2sdk1.4.2_11\jre\lib\ext\mysql-connector-java-3.0.15-ga.jar;


Anyone please tell me what will be the problem when executing that Connectivity
 
Old April 20th, 2006, 12:23 AM
Authorized User
 
Join Date: Mar 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

in Class.forName(), what's the path u mentioned?
Unzip the connector jar file, and check with this path.

 
Old April 21st, 2006, 02:25 AM
Registered User
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you,Mr Ram .I solved that problem on that day itself.the problem was in the classpath.Thank you for your intension .
Thank you

venkatesh





Similar Threads
Thread Thread Starter Forum Replies Last Post
jdbc:sql:tomcat connectivity shraddhavs Pro JSP 3 July 15th, 2006 11:15 AM
jdbc-mysql kvenk111 Java Databases 1 April 13th, 2006 02:20 AM
mysql+JDBC over LAN bamboat_3 Java Databases 1 April 1st, 2005 04:14 AM
Cannot load JDBC driver class with com.mysql.jdbc. dzis Apache Tomcat 0 January 29th, 2004 11:57 AM
Cannot load JDBC driver class with com.mysql.jdbc. dzis MySQL 0 January 29th, 2004 11:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.