java.net.MalformedURLException: unknown protocol: commons-httpclient.jar

Coderanch | William Barnes | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Running with jar files in jar file.

    Coderanch | 1 decade ago | William Barnes
    java.net.MalformedURLException: unknown protocol: commons-httpclient.jar

    Root Cause Analysis

    1. java.net.MalformedURLException

      unknown protocol: commons-httpclient.jar

      at java.net.URL.<init>()
    2. Java RT
      ClassLoader.loadClass
      1. java.net.URL.<init>(URL.java:611)
      2. java.net.URL.<init>(URL.java:501)
      3. sun.misc.URLClassPath$JarLoader.parseClassPath(URLClassPath.java:894)
      4. sun.misc.URLClassPath$JarLoader.getClassPath(URLClassPath.java:868)
      5. sun.misc.URLClassPath.getLoader(URLClassPath.java:340)
      6. sun.misc.URLClassPath.getResource(URLClassPath.java:194)
      7. java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:842)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.net.URLClassLoader.findClass(URLClassLoader.java:369)
      10. java.lang.ClassLoader.loadClass(ClassLoader.java:562)
      11. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:438)
      12. java.lang.ClassLoader.loadClass(ClassLoader.java:494)
      12 frames