java.net.UnknownServiceException: protocol doesn't support input

Oracle Community | 807553 | 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

    how do i deal with protected method in super class?

    Google Groups | 1 decade ago | eugene kim
    java.net.UnknownServiceException: protocol doesn't support input
  2. 0

    how can i check if link is not broken?

    Oracle Community | 1 decade ago | 807553
    java.net.UnknownServiceException: protocol doesn't support input

    Root Cause Analysis

    1. java.net.UnknownServiceException

      protocol doesn't support input

      at java.net.URLConnection.getInputStream()
    2. Java RT
      HttpURLConnection.getResponseMessage
      1. java.net.URLConnection.getInputStream(URLConnection.java:666)
      2. java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:237)
      3. java.net.HttpURLConnection.getResponseMessage(HttpURLConnection.java:303)
      3 frames
    3. practice
      HelloWorld.doGet
      1. practice.MyClass.getResponseMessage(MyClass.java:12)
      2. practice.HelloWorld.doGet(HelloWorld.java:21)
      2 frames