rss - cq5, NoClassDefFoundError for SyndFeedImpl when using it within a OSGi environment -
getting noclassdeffounderror: not initialize class com.sun.syndication.feed.synd.syndfeedimpl when trying use rome 1.0 create rss feed.
i've tried "-drome.pluginmanager.useloadclass=true" setting, both on true , false no luck.
any reason why rome bundle load can't used, without getting noclassdeffound?
the problem here can resolved adding following pom.xml if using maven bundle plugin:
<import-package>!com.sun.syndication.*, *</import-package> see here: maven bundle plugin
or add similar manifest.mf file osgi bundle if aren't using maven build bundle.
import-package: !com.sun.syndication.*, * we're using osgi-ified version of rome on project.
Comments
Post a Comment