Re: java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
Posted by: abdennad
Date: May 05, 2005 09:46AM

Hello:

I tried to investigate the cause of the problem and it seems to me that the application launcher java.exe is the source of the problem since when I execute:

java -cp anyname.jar mysqltest

Regardless of anyname.jar ( even if it does not exist ), I get the same error message :
"Exception in thread "main" java.lang.NoClassDefFoundError: mysqltest"

which means that the launcher java.exe does not read or check the validity of the
JAR file. I am using jdk1.5.0_01, I had doubt about its configuration so I uninstalled it and reinstalled it but the problem persists ( it was installed in c:\mysql ).

Does anybody know whether the tools of the previous versions of the JDK are more stable and which version to recommend?

Thanks.

PS: the launcher works well for applications that do not need classes from JAR files.

Options: ReplyQuote


Subject
Written By
Posted
Re: java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
May 05, 2005 09:46AM
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.