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

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

via Spring JIRA by Roy Clarkson, 1 year ago
via Spring JIRA by Roy Clarkson, 2 years ago
org.springframework.web.client.HttpClientErrorException: 401 Unauthorized at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:76) at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:504) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:461) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:419) at org.springframework.web.client.RestTemplate.getForEntity(RestTemplate.java:239) at org.springframework.web.client.AbstractRestTemplateIntegrationTests.testGetEntityNotAuthorized(AbstractRestTemplateIntegrationTests.java:128) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)