|
Re: NoClassDefFoundError: org/objectweb/asm/tree/ClassNode [message #23211 is a reply to message #23172] |
Wed, 26 November 2008 17:16 |
No real name Messages: 4 Registered: July 2009 |
Junior Member |
|
|
Error solved!
Please don't spend any time on this issue!
What seemed to be a hard problem turned out to have an easy solution (as
always). I did a huge mistake (time to stop working and get some sleep =)
- I got lazy and started to "select all" in the "Order and Export" section
of the "Java Build Path" of the project properties. By doing that, I also
included (i.e. "exported") a dependency to MicroEmulator, which clearly
should have been included. The MicroEmulator contains the ClassNode class
... (BTW, since I build with Maven, I've to tick the projects to export
after each build, quite annoying ... But that does in no way entitle the
laziness! *ashamed*)
I have no real clue how this problem could have propagated to the simple
HelloWorld project though. When I excluded the dependency to
MicroEmulator, I could executed my original MIDlet. But when I re-ran the
HelloWorld project, the error still remained. I had to do a Eclipse clean
on the HelloWorld project (Project -> Clean -> <HelloWorld project>) in
order to get rid of the error. I would have expected that it would have
worked right away, since there are no explicit dependency bweteen the two
projects. Anyway, my main problem is now solved! =)
Sorry for having wasted your time!
So, back to MTJ it is! =) Keep up the great work, guys!
|
|
|
Re: NoClassDefFoundError: org/objectweb/asm/tree/ClassNode [message #568524 is a reply to message #23172] |
Wed, 26 November 2008 17:16 |
No real name Messages: 4 Registered: July 2009 |
Junior Member |
|
|
Error solved!
Please don't spend any time on this issue!
What seemed to be a hard problem turned out to have an easy solution (as
always). I did a huge mistake (time to stop working and get some sleep =)
- I got lazy and started to "select all" in the "Order and Export" section
of the "Java Build Path" of the project properties. By doing that, I also
included (i.e. "exported") a dependency to MicroEmulator, which clearly
should have been included. The MicroEmulator contains the ClassNode class
... (BTW, since I build with Maven, I've to tick the projects to export
after each build, quite annoying ... But that does in no way entitle the
laziness! *ashamed*)
I have no real clue how this problem could have propagated to the simple
HelloWorld project though. When I excluded the dependency to
MicroEmulator, I could executed my original MIDlet. But when I re-ran the
HelloWorld project, the error still remained. I had to do a Eclipse clean
on the HelloWorld project (Project -> Clean -> <HelloWorld project>) in
order to get rid of the error. I would have expected that it would have
worked right away, since there are no explicit dependency bweteen the two
projects. Anyway, my main problem is now solved! =)
Sorry for having wasted your time!
So, back to MTJ it is! =) Keep up the great work, guys!
|
|
|
Powered by
FUDForum. Page generated in 0.03143 seconds