HTTP 401 Error When Trying to Deploy Spring App via Gradle and Jenkins on a Tomcat 7 Server
401 means "Unauthorized".
- Try to check your credentials.
Last time when I deploy my app to Tomcat7 I use this link:
localhost/manager/text/html
Can you deploy this app without jenkins only using gradle ?
- Very simple (temporary) solution is (if you deploy app on the same machine) is to copy war in Tomcat ${catalina.home}/webapps directory. When war is copied Tomcat expand this to desired url. Then you need to restart is to be sure that all caches is clear.