I’m obviously doing something wrong, but I can’t figure out what. I’ve built a simple app using your new Matisse library. It runs fine in the IDE, but errs out at the command line. The error I get is
C:\eclipse\workspace\DIMSInputGenerator>java -jar DIMGen.jar
Exception in thread “main” java.lang.NoClassDefFoundError: org/jdesktop/layout/G
roupLayout$Group
I’ve checked the contents of the jar, and it includes lib/swing-layout-1.0.jar. Here’s the contents of MANIFEST.MF
Manifest-Version: 1.0
Main-Class: DIMView
Import-Package: javax.swing,
javax.swing.border,
javax.swing.event,
org.jdesktop.layout
Bundle-SymbolicName: DIMGen
Bundle-Version: 1.0
Bundle-Name: DIMS Input Generator
Bundle-Vendor: Booz Allen Hamilton
Bundle-ClassPath: lib/,
classes/
Require-Bundle: com.genuitec.eclipse.desktop
I don’t think I need the javax.swing and eclipse.desktop packages, but I’m getting desparate. What am I missing? I’ve run into similar problems on my last two projects, and haven’t been able to come up with a soluton other than to leave out the feature.
Thanks,
Brian