cq5, NoClassDefFoundError for SyndFeedImpl when using it within a OSGi environment


Getting a NoClassDefFoundError: Could not initialize class com.sun.syndication.feed.synd.SyndFeedImpl when trying to use rome 1.0 to create a rss feed.

I've tried "-Drome.pluginmanager.useloadclass=true" setting, both on true and false with no luck.

Any reason why the rome bundle will successfully load but can't be used, without getting a noclassdeffound?


The problem here can be resolved by adding the following to your pom.xml if using the Maven Bundle plugin:

By : DaveC

This video can help you solving your question :)
By: admin