[mdr-users] java.lang.NoClassDefFoundError: javax/jmi/reflect/RefPackage

[email protected] Wed, 25 Jan 2006 22:28:02 -0200 (BRST)
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
Hi Leo,

I added the jmi.jar to the project, is the same thing? Because my
application compiles and run correctly but just inside the NB using Build
Project and Run Project. When I try to execute the jar file with the
command

java -jar GraphPlusMDR.jar

It´s returns the error message that I sent to the mailing list.

Is there anything else to do?

Thanks,

Luiz Felipe

>Hello,
>
>    Do you have the "jmi.jar" file in you classpath?
>
>    Leo

>[email protected] escreveu:
> Hi EveryBody,
>
> I´m working on NB 4.1 and I have developed a graphic tool using MDR like
> my persistence tool. I downloaded the mdr-standalone.zip with the main
> .jar files that I would need, generate the JMI interfaces and my
> application works fine inside NB. These JMI interfaces can be just zipped
> into a zip file and rename to a jar file to add to the project? When a
> create a JAR file with my project like a executable, I have this error:
>
> java.lang.NoClassDefFoundError: javax/jmi/reflect/RefPackage
>
> So, this error just happen when I want to run the program outside from
> NetBeans. I´ve read about same problem but with other NB versions. And the
> documentation doesn´t have anything about stand-alone develop in NB 4.1.
> If I run my application from inside NB it´s works perfectly!
>
> Anyone can help me?
>
> Thanks in advance,
>
> Luiz Felipe
>
>