-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.NoSuchMethodError: java.util.Properties.load(Ljava/io/Reader;)V #40
Comments
f/u from chris: the exception that I got did not appear when we used the separate jar files. It only appeared when we used the jar file that combined all the files (0.3). Does this make any sense to you? |
Chris: Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: java.util.Properties.load(Ljava/io/Reader;)V |
and |
java.util.Properties.load was introduced in Java 6, target Java 5
re: Exception
java.lang.NoSuchMethodError: java.util.Properties.load(Ljava/io/Reader;)V
from Chris J. Myers
Hi Michal,
I get the following exception with the single jar version of libSBOL on my Mac.
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: java.util.Properties.load(Ljava/io/Reader;)V
at com.clarkparsia.empire.config.io.impl.PropertiesConfigReader.read(Unknown Source)
at com.clarkparsia.empire.config.io.impl.PropertiesConfigReader.read(Unknown Source)
at com.clarkparsia.empire.util.DefaultEmpireModule.(Unknown Source)
at com.clarkparsia.empire.Empire.init(Unknown Source)
at com.clarkparsia.empire.Empire.init(Unknown Source)
at org.sbolstandard.libSBOLj.SBOLservice.(SBOLservice.java:65)
at org.sbolstandard.libSBOLj.SBOLservice.(SBOLservice.java:70)
at org.sbolstandard.libSBOLj.SBOLutil.fromRDF(SBOLutil.java:236)
The issue appears to be that java.util.Properties.load was introduce in Java 6, and I'm using Java 5. We have found that we have lots of compatibility issues when we use things that only work in Java 6, so we target Java 5 in our builds. Is it possible for you to rewrite this to be Java 5 compatible?
Thanks,
Chris
The text was updated successfully, but these errors were encountered: