java.io.IOException: Server returned HTTP response code: 401 for URL: alhost:8080/manager/install?path=%2Fspringapp&war=springapp

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert 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.

Solutions on the web

via wordpress.com by Unknown author, 1 year ago
Server returned HTTP response code: 401 for URL: alhost:8080/manager/install?path=%2Fspringapp&war=springapp
via Oracle Community by 843834, 4 months ago
Server returned HTTP response code: 401 for URL:http://localhost:8080/manager/install?path=%2Fgs&war=file%3AC%3A%2Fjwstutorial13%2Fjwstutorial13%2Fexamples%Fgs%2Fbuild
via Oracle Community by 843834, 1 year ago
Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/install?path=%2Fbookstore1&config=file%3A%2Froot%2Fjwsdp-1_0-ea2%2Fdocs%2Ftutorial%2Fexamples%2Fweb%2Fbookstore1%2Fbuild%2Fbookstore1.xml
via hadoop-yarn-dev by Apache Jenkins Server, 1 year ago
Server returned HTTP response code: 403 for URL: http://localhost:8088/ws/v1/cluster/delegation-token
via hadoop-yarn-dev by Daniel Templeton (JIRA), 1 year ago
Server returned HTTP response code: 403 for URL: http://localhost:8088/ws/v1/cluster/delegation-token
via Stack Overflow by simpatico
, 2 years ago
Server returned HTTP response code: 403 for URL: http://localhost:8080/manager/deploy?path=%2Fsolr
java.io.IOException: Server returned HTTP response code: 401 for URL: alhost:8080/manager/install?path=%2Fspringapp&war=springapp
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.launch.Launcher.run(Launcher.java:257)

Users with the same issue

2 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.