java.lang.NoSuchMethodError: org.springframework.social.NotAuthorizedException: method <init>(Ljava/lang/String;)V not found

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

Solutions on the web

via Spring JIRA by Thomas Land, 1 year ago
org.springframework.social.NotAuthorizedException: method <init>(Ljava/lang/String;)V not found
via Spring JIRA by Thomas Land, 1 year ago
org.springframework.social.NotAuthorizedException: method <init>(Ljava/lang/String;)V not found
via Stack Overflow by Unknown author, 2 years ago
org.springframework.social.MissingAuthorizationException: method <init>(Ljava/lang/String;)V not found
java.lang.NoSuchMethodError: org.springframework.social.NotAuthorizedException: method <init>(Ljava/lang/String;)V not found
at org.springframework.social.facebook.api.impl.FacebookErrorHandler.handleFacebookError(FacebookErrorHandler.java:105)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:588)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:546)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:517)
at org.springframework.social.facebook.api.impl.FacebookTemplate.fetchObject(FacebookTemplate.java:165)
at org.springframework.social.facebook.api.impl.UserTemplate.getUserProfile(UserTemplate.java:50)
at org.springframework.social.facebook.api.impl.UserTemplate.getUserProfile(UserTemplate.java:46)
at org.springframework.social.facebook.connect.FacebookAdapter.setConnectionValues(FacebookAdapter.java:42)
at org.springframework.social.connect.support.AbstractConnection.setValues(AbstractConnection.java:174)
at org.springframework.social.connect.support.AbstractConnection.initKey(AbstractConnection.java:137)
at org.springframework.social.connect.support.OAuth2Connection.(OAuth2Connection.java:75)

Users with the same issue

You are the first who have seen this exception.

Write tip

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