RE: main method throws java.lang.NoClassDefFoundError
"Fabian Hagen" <[email protected]>
| Newsgroups | gmane.comp.jakarta.cactus.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks, it works now! >From: <[email protected]> >Reply-To: "Cactus Users List" <[email protected]> >To: <[email protected]> >Subject: RE: main method throws java.lang.NoClassDefFoundError >Date: Wed, 3 Jan 2007 22:31:02 +0530 > > >Fabian Hagen, > >Please include aspectjrt-1.2.1.jar(any version) in your classpath >This jar you can get in jakarta-cactus-13-1.7.2 library which you can >download .That will help you resolve the problem > > > > >Thanks and Regards >Bhanuprakash Singh > >-----Original Message----- >From: Fabian Hagen [mailto:[email protected]] >Sent: Wednesday, January 03, 2007 8:32 PM >To: [email protected] >Subject: main method throws java.lang.NoClassDefFoundError > > >Hello, > >I have the following issue, if I'd like to run my JUnit-Test. >This is the Exception: > > >Exception in thread "main" java.lang.NoClassDefFoundError: >org/aspectj/lang/Signature > at >org.apache.cactus.internal.AbstractCactusTestCase.<clinit>(AbstractCactusTestCase.java:53) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) > at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) > at java.lang.reflect.Method.invoke(Method.java:391) > at >org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.getTest(RemoteTestRunner.java:370) > at >org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:404) > at >org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:311) > at >org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) > > > >As you can see lies the mistake in the main-method. I have absolutely no >idea what to do or where the issue could be. > >Could you please give some suggestion to resolve this issue. -Thanks > >_________________________________________________________________ >Nur die MSN Suche sorgt bei einer Web-Recherche für optimale Ergebnisse. >http://search.msn.ch/ > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > > >The information contained in this electronic message and any attachments to >this message are intended for the exclusive use of the addressee(s) and may >contain proprietary, confidential or privileged information. If you are not >the intended recipient, you should not disseminate, distribute or copy this >e-mail. Please notify the sender immediately and destroy all copies of this >message and any attachments. > >WARNING: Computer viruses can be transmitted via email. The recipient >should check this email and any attachments for the presence of viruses. >The company accepts no liability for any damage caused by any virus >transmitted by this email. > >www.wipro.com > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > _________________________________________________________________ Nur die MSN Suche sorgt bei einer Web-Recherche für optimale Ergebnisse. http://search.msn.ch/