Classloading conflict when running webstart
Christian Svedin
christian.svedin at idainfront.se
Wed Jan 9 13:35:56 UTC 2019
I have an application that has a mozilla rhino jar as a dependency. When
I use classes from that dependency i get a NoSuchMethodException
Caused by: java.lang.NoSuchMethodError:
org.mozilla.javascript.Parser.parse(Ljava/lang/String;Ljava/lang/String;I)Lorg/mozilla/javascript/ScriptOrFnNode
I think the problem is that IcedTea-web already has rhino as a
dependency so I get the version from IcedTea in a parent classloader to
my application.
Any way to get a "clean" classpath for my application that doesn't
contain IcedTea-classes? Any other way to solve this?
/ Christian
More information about the distro-pkg-dev
mailing list