Home » Eclipse Projects » Rich Client Platform (RCP) » NoClassDefFound for itext
NoClassDefFound for itext [message #460872] |
Mon, 01 January 2007 03:31 |
Eclipse User |
|
|
|
Originally posted by: jelgolfnut.gmail.com
I've been developing an RCP app and just added a class that uses the Itext
library. I created a plugin from the jar file, but when I run the app, it
shows NoClassDefFound for one of the Itext classes. I added the itext
plugin to the dependencies of my app and added the "registered" property
to the manifest for itext. Here are the files:
my app manifest file
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Work Journal
Bundle-SymbolicName: com.work.journal;singleton:=true
Bundle-Version: 1.0.0
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.ui.forms,
org.eclipse.ui.console,
org.spring.springframework,
my.support.database,
com.lowagie.itext,
my.org.jfreechart.1.0.1
Eclipse-LazyStart: false
Eclipse-RegisterBuddy: org.spring.springframework, my.support.database,
com.lowagie.itext
here is the manifest for itext
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Itext Plug-in
Bundle-SymbolicName: com.lowagie.itext
Bundle-Version: 1.0.0
Bundle-ClassPath: .
Bundle-Localization: plugin
Export-Package: com.lowagie.bc.asn1,
com.lowagie.text,
com.lowagie.text.html,
com.lowagie.text.html.simpleparser,
com.lowagie.text.markup,
com.lowagie.text.pdf,
com.lowagie.text.pdf.codec,
com.lowagie.text.pdf.codec.postscript,
com.lowagie.text.pdf.codec.wmf,
com.lowagie.text.pdf.events,
com.lowagie.text.pdf.fonts,
com.lowagie.text.pdf.hyphenation,
com.lowagie.text.rtf,
com.lowagie.text.rtf.document,
com.lowagie.text.rtf.document.output,
com.lowagie.text.rtf.field,
com.lowagie.text.rtf.graphic,
com.lowagie.text.rtf.headerfooter,
com.lowagie.text.rtf.list,
com.lowagie.text.rtf.style,
com.lowagie.text.rtf.table,
com.lowagie.text.rtf.text,
com.lowagie.text.xml,
com.lowagie.text.xml.xmp,
com.lowagie.tools,
com.lowagie.tools.arguments,
com.lowagie.tools.plugins,
com.lowagie.tools.plugins.treeview
Eclipse-BuddyPolicy: registered
Any thoughts/suggestions? The itext class is referenced from an action
that is declared programmatically (if that makes a difference). After
beating my head against the RCP for a few days, I finally started making
great headway, but this has been another bump in the road so any help will
be much appreciated.
Thanks
|
|
| | |
Goto Forum:
Current Time: Fri Apr 26 05:52:39 GMT 2024
Powered by FUDForum. Page generated in 0.02990 seconds
|