This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi Everyone, I am using MySQL as a database and am trying to run a sample program to fetch and display data from a table... I am getting the following 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) at com.sitepoint.ToDoList.<init>(ToDoList.java:12) at com.sitepoint.ToDoTest.main(ToDoTest.java:6)
Is this a classpath problem. I am using eclipse ide to run the project. Also i am using the following driver: mysql-connector-java-3.1.13-bin-g.jar
Here is the driver and connection string i am using: "com.mysql.jdbc.Driver", "jdbc:IJDB://localhost/TODO?user=db2admin&password=db2admin"
"I may not have gone where I intended to go, but I think I have ended up where I needed to be"<br /> <br />"He felt that his whole life was some kind of dream and he sometimes wondered whose it was and whether they were enjoying it"<br /> <br />--by Douglas Adams<br /> <br />[SCJP - 96%, SCWCD - 88%, SCBCD - May 2008]