NoClassDefFoundError

View: New views
2 Messages — Rating Filter:   Alert me  

NoClassDefFoundError

by Alexander Sidorov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What are the possible reasons for NoClassDefFoundError? I googled but didn't find my case.
It looks like I use ikvmc as usual... but I get this exception.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ikvm-developers mailing list
Ikvm-developers@...
https://lists.sourceforge.net/lists/listinfo/ikvm-developers

Re: NoClassDefFoundError

by Jeroen Frijters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There are three possible reasons that I can think of:

1) The class didn't exist (or wasn't referenced) at ikvmc time

2) The class initializer threw an exception. When that happens you'll get an ExceptionInInitializerError, but subsequent accesses to the class result in NoClassDefFoundError.

3) Some code explicitly throws it.

Regards,
Jeroen

> -----Original Message-----
> From: Alexander Sidorov [mailto:alexidsa@...]
> Sent: Thursday, November 05, 2009 4:54 PM
> To: ikvm-developers@...
> Subject: [Ikvm-developers] NoClassDefFoundError
>
> What are the possible reasons for NoClassDefFoundError? I googled but
> didn't find my case.
> It looks like I use ikvmc as usual... but I get this exception.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ikvm-developers mailing list
Ikvm-developers@...
https://lists.sourceforge.net/lists/listinfo/ikvm-developers