[mdr-users] Error when execute the example
[email protected] Mon, 19 Dec 2005 10:36:07 -0200 (BRST)
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Everybody,
I´m trying to execute the example in mdr.netbeans.org and I´m having some
problems. First of all, when I choose the main class "ProjectCreationDemo"
to use a Internal Execution the NB tell me that there is not a main method
in the class, but it´s not true. So, I set the execution to the external
execution, so The error is below:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/openide/util/Lookup
at org.netbeans.api.mdr.MDRManager.getDefault(MDRManager.java:53)
at
org.netbeans.mdrdemo.ProjectCreationDemo.main(ProjectCreationDemo.java:11)
I have done all that steps in http://mdr.netbeans.org/example.html using
the MDR Explorer, in NetBeans I´m using two jars files: jmi.jar,
mdrapi.jar. I have not gotten generate the jar with the JMI.
Well, any idea about my problem? Sorry for my English, I´m Brazilian!
Thanks,
Luiz Felipe