|
Subject:
|
jdbc:mysql connectivity
|
|
Posted By:
|
kvenk111
|
Post Date:
|
4/4/2006 7:24:48 AM
|
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
|
|
Reply By:
|
Mr. Ram
|
Reply Date:
|
4/20/2006 12:23:16 AM
|
in Class.forName(), what's the path u mentioned? Unzip the connector jar file, and check with this path.
|
|
Reply By:
|
kvenk111
|
Reply Date:
|
4/21/2006 2:25:01 AM
|
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
|