|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
Re: modules-0.2.jar compile problemI believe this reported problem still exists. If I use the solitary
jar for mediarss, it compiles and runs with JVM 1.4.2. If I use the modules-02 jar, it compiles but when run with JVM 1.4.2, I get the noted exception: >> Exception in thread "main" java.lang.UnsupportedClassVersionError: >> com/sun/syndication/feed/module/mediarss/io/RSS20YahooParser >> (Unsupported major.minor version 49.0) >> There is also a problem when building with xcode. If I want to include more than one module, for example, xcode expands all the jars and then makes a new jar with all the class files. Unfortunately it appears to overwrite the rome.properties file from each jar so that the last unjarred props file is used. I tried to just build with a separate rome.properties file, but it is also overwritten. Is there a way to write out the rome.properties to see what module properties have been set? Thanks, peter > -- > :Robert "kebernet" Cooper > ::kebernet@... > Alice's cleartext > Charlie is the attacker > Bob signs and encrypts > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8 > > From: Peter Pfeiffer <pjpfeiffer@...> > Date: February 18, 2008 9:23:34 PM PST > To: users@... > Subject: Fwd: modules-0.2.jar compile problem > > > Sorry, it's a runtime exception. > > peter > > > Begin forwarded message: > >> From: Peter Pfeiffer <pjpfeiffer@...> >> Date: February 18, 2008 6:23:01 PM PST >> To: users@... >> Subject: modules-0.2.jar compile problem >> >> Hello, >> I recently switched to using Rome 0.9 for my java app. I build >> with the jars supplied by the Rome project. When I add the >> modules-0.2.jar, I get the compile error listed below. My guess is >> RSS20YahooParser wass compiled with a JVM 1.5 target. I need to >> remain using JVM 1.4 for a while. If I use just the >> mediarss-0.2.1.jar, it compiles. Of course, I would like to use >> several of the modules in the modules-0.2.jar. Is it possible to >> fix this? Or is there an alternative solution? >> >> Thanks for such a useful library. >> >> peter >> >> >> >> Exception in thread "main" java.lang.UnsupportedClassVersionError: >> com/sun/syndication/feed/module/mediarss/io/RSS20YahooParser >> (Unsupported major.minor version 49.0) >> at java.lang.ClassLoader.defineClass0(Native Method) >> at java.lang.ClassLoader.defineClass(ClassLoader.java:539) >> at java.security.SecureClassLoader.defineClass >> (SecureClassLoader.java:123) >> at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) >> at java.net.URLClassLoader.access$100(URLClassLoader.java:55) >> at java.net.URLClassLoader$1.run(URLClassLoader.java:194) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:187) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:235) >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) >> at java.lang.Class.forName0(Native Method) >> at java.lang.Class.forName(Class.java:219) >> at com.sun.syndication.io.impl.PluginManager.getClasses >> (PluginManager.java:133) >> at com.sun.syndication.io.impl.PluginManager.loadPlugins >> (PluginManager.java:87) >> at com.sun.syndication.io.impl.PluginManager.<init> >> (PluginManager.java:55) >> at com.sun.syndication.io.impl.PluginManager.<init> >> (PluginManager.java:46) >> at com.sun.syndication.io.impl.FeedParsers.<init> >> (FeedParsers.java:53) >> at com.sun.syndication.io.WireFeedInput.<clinit> >> (WireFeedInput.java:54) >> at com.sun.syndication.io.SyndFeedInput.<init>(SyndFeedInput.java: >> 57) >> at com.sun.syndication.io.SyndFeedInput.<init>(SyndFeedInput.java: >> 47) >> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free Forum Powered by Nabble | Forum Help |