java.lang.NoSuchMethodError

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12866

  • 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 Coderanch by Prasad Lakkavaram, 7 months ago
    javax.xml.namespace.QName: method <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String V not found
  • Stack trace

    • 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.social.facebook.api.impl.FacebookErrorHandler.handleError(FacebookErrorHandler.java:60) 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.web.client.RestTemplate.getForObject(RestTemplate.java:255) 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.facebook.connect.FacebookAdapter.setConnectionValues(FacebookAdapter.java:30) 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.<init>(OAuth2Connection.java:75) at org.springframework.social.connect.support.OAuth2ConnectionFactory.createConnection(OAuth2ConnectionFactory.java:91)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.