I have been trying to connect to MYSQl database. Just learning
JDBC and this is my first sample program.I use netbeans
IDE. I also tried executing it from the command prompt and still i get hte same error.
Compiles fine but throws up this error
Exception in
thread "main" java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
I searched the web and came across few solutions
1) Checked the class pathlike 100 times.
2)Used mysql-connector-java-bin-3.1.8 instead of mysql-connector-java-bin-3.1.8-g
3)unzipped the aspectjrt.jar file and set included that directory to the class path.
Still doesnt seem to work!
Got suggestions to help me out?
[ July 01, 2005: Message edited by: Bear Bibeault ]
[Jeanne added code tags]
[ July 02, 2005: Message edited by: Jeanne Boyarsky ]