org.springframework.web.client.HttpClientErrorException: 403 Forbidden

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 your path is correct, if it's correct already you have to register your path to the mapping configuration.

Solutions on the web

org.springframework.web.client.HttpClientErrorException: 403 Forbidden
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:585)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:541)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:499)
at com.jutt.isec.RestClient_.LoginIt(RestClient_.java:41)
at com.jutt.isec.MainActivity.doLogin(MainActivity.java:130)
at com.jutt.isec.MainActivity_.access$201(MainActivity_.java:31)
at com.jutt.isec.MainActivity_$5.execute(MainActivity_.java:159)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 2 days ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
34 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
124 more bugmates

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