MySQL Forums
Forum List  »  Connector/JDBC and Java

Re: java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
Posted by: Mark Matthews
Date: May 27, 2005 06:30AM

Ren� Beltman wrote:
> Hello,
>
> I had this error and I have fixed it with
> extracting the package. My error was that I had
> copied the (incomplete) directory's.
>
> But now an other error.
>
> From this code:
> import java.sql.*;
> public class Apl {
> public static void main(String [] args) {
> try {
> Class.forName("com.mysql.jdbc.Driver");
> } catch (Exception e) {
> e.printStackTrace();
> }
>
> String protocol = "jdbc.mysql:";

This should be "jdbc:mysql" not "jdbc.mysql:".

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject
Written By
Posted
Re: java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
May 27, 2005 06:30AM
March 14, 2007 04:02AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.