java.io.IOException

tip

Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • ANT Install Failure
    via by 843834,
  • Problem with SAX
    via Stack Overflow by srinannapa
    ,
  • Regs record & submit
    via jvoicexml by jagath_kumara
    ,
    • java.io.IOException: Server returned HTTP response code: 401 for URL: alhost:8080/manager/install?path=%2Fspringapp&war=springapp at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245) at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:223) at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:146) at org.apache.catalina.ant.InstallTask.execute(InstallTask.java:114) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.Main.runBuild(Main.java:758) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

    Users with the same issue

    Matty
    10 times, last one,
    Unknown User
    1 times, last one,
    tyson925
    4 times, last one,
    rp
    1 times, last one,
    Unknown visitor2 times, last one,
    74 more bugmates