Atom / RSS Java library powered by Google App Engine

I am trying to publish an Atom / RSS feed in my Java based Java application. I tried using Rome and keep getting the next error (tried searching without errors), also the code that I run that generates the error is the demo code (so I feel like Rome will not work with GAE)

java.lang.NoClassDefFoundError: org/jdom/JDOMException at com.sun.syndication.io.SyndFeedOutput.<init>(SyndFeedOutput.java:44) 

I am looking for recommendations for a simple Java library for creating and publishing an Atom feed from the Google App Engine.

Thanks.

+4
source share
2 answers
 java.lang.NoClassDefFoundError: org/jdom/JDOMException 

It just means that there is no specific class in the runtime class (although it was available in the compiletime class path, which is different from ClassNotFoundException).

The logical next step is to include a particular class (or, moreover, a JAR file with a specific class) in the path to the runtime. Then this error disappeared.

Check your compiletime class path, if any, and add it to the runtime class path. Or, if it’s actually a dependency that you don’t have yet, then it’s good to know that the package name already tells you that you can find and download it at http://jdom.org .

+5
source

@ Adriana and other people are late in the topic: What Balus had in mind was that the original poster did not have the JDOM library, which can be downloaded at http://jdom.org/ . You just need to add .jar to the classpath, which apparently was not in the ROME demo code.

+2
source

All Articles