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

Google Groups | ChrisFromFreeMind | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    OffRoad: A desktop port of OsmAnd

    Google Groups | 9 months ago | ChrisFromFreeMind
    java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader (in module: java.base) cannot be cast to java.net.URLClassLoader (in module: java.base)

    Root Cause Analysis

    1. 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.offroad.OsmWindow.printClassPath()
    2. net.sourceforge.offroad
      OsmWindow.main
      1. net.sourceforge.offroad.OsmWindow.printClassPath(OsmWindow.java:904)
      2. net.sourceforge.offroad.OsmWindow.getResource(OsmWindow.java:921)
      3. net.sourceforge.offroad.OsmWindow.loadStrings(OsmWindow.java:812)
      4. net.sourceforge.offroad.OsmWindow.initStrings(OsmWindow.java:778)
      5. net.sourceforge.offroad.OsmWindow.<init>(OsmWindow.java:730)
      6. net.sourceforge.offroad.OsmWindow.getInstance(OsmWindow.java:989)
      7. net.sourceforge.offroad.OsmWindow.main(OsmWindow.java:706)
      7 frames