java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader (in module: java.base) cannot be cast to java.net.URLClassLoader (in module: java.base)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Class loader fails with java9
    via docfetcher by *anonymous
    ,
    • java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader (in module: java.base) cannot be cast to java.net.URLClassLoader (in module: java.base) at net.sourceforge.docfetcher.util.ClassPathHack.addURL(ClassPathHack.java:32) at net.sourceforge.docfetcher.util.ClassPathHack.addFile(ClassPathHack.java:28) at net.sourceforge.docfetcher.util.SwtJarLoader.loadSwtJar(SwtJarLoader.java:46) at net.sourceforge.docfetcher.Main.main(Main.java:27)
    No Bugmate found.