I am trying the spring social libraries and I have ran into a problem with using them with Spring (core, web, mvc, security) 3.0.2.RELEASE. Below if the exception I get when trying to POST a tweet.
I am using version 3.0.2.RELEASE of spring-web.jar and I did verify that class ClientHttpRequest does not have a getURI method.
Is there something I am doing wrong or is there an issue with the library?
Thanks,
Scott.
java.lang.NoSuchMethodError: org.springframework.http.client.ClientHttpRequest. getURI()Ljava/net/URI;
at org.springframework.social.oauth1.Spring30OAuth1Re questFactory$OAuth1SigningRequest.getURI(Spring30O Auth1RequestFactory.java:91)
at org.springframework.social.oauth1.SigningUtils.spr ing30buildAuthorizationHeaderValue(SigningUtils.ja va:77)
at org.springframework.social.oauth1.Spring30OAuth1Re questFactory$OAuth1SigningRequest.execute(Spring30 OAuth1RequestFactory.java:84)
at org.springframework.web.client.RestTemplate.doExec ute(RestTemplate.java:438)
at org.springframework.web.client.RestTemplate.execut e(RestTemplate.java:401)
at org.springframework.web.client.RestTemplate.postFo rEntity(RestTemplate.java:302)
at org.springframework.social.twitter.TwitterTemplate .updateStatus(TwitterTemplate.java:138)
at org.springframework.social.twitter.TwitterTemplate .updateStatus(TwitterTemplate.java:131)
at
...


Reply With Quote