Results 1 to 7 of 7

Thread: Spring Social & Grails: no suitable HttpMessageConverter found

Hybrid View

  1. #1
    Join Date
    Dec 2010
    Posts
    10

    Question Spring Social & Grails: no suitable HttpMessageConverter found

    Hi,

    I am trying to get spring social running in my Grails Application.

    I was able to get Twitter-OAuth-Conntection working and created a TwitterTemplate with the keys and secrets, but after the publish()-Call,
    an exception is thrown:

    Code:
    org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [java.util.Map] and content type [application/json;charset=utf-8]
    However, the tweet is successfully published. How do I set the Message-Converter?

    Thanks in advance,
    Adrian

  2. #2
    Join Date
    Aug 2006
    Location
    Sardinia
    Posts
    7

    Default

    Hi same problem did you had've a response?
    thx Rinaldo

  3. #3
    Join Date
    Dec 2010
    Posts
    10

    Default Not yet, but a workaround

    I just surrounded it with try/catch and went with it, since the Posts appeared at Twitter.

    Maybe we should post it on the Grails-User-List? Could be, that someone is already working on a grail splugin for that ;-)

  4. #4
    Join Date
    Jul 2006
    Posts
    30

    Default Can you please share how to get spring social working with grails

    Hi Guys

    I am trying to get spring social working with grails.
    Can you please share how to get this working given that there is no plugin.
    If you had written a blog on this or have a sample app you can share I would be thankful. You can reach me at trbala at yahoo.com

    Thanks
    Bala Thiruppanambakkam
    trbala at yahoo.com

    PS: I could get twitter posting working using twitter4j. Greenhouse has way too much than what I need.

  5. #5
    Join Date
    Aug 2006
    Location
    Sardinia
    Posts
    7

    Default

    Hi, seems that the problem was library not included in my project.
    Include all the library and now jpsocial work fine.
    Asap I will release it as a plugin on the jAPS2.0 platform project.

    For more info contact me at rbonazzo at gmail dot com
    regards

  6. #6
    Join Date
    Dec 2010
    Posts
    3

    Default

    add these two jars it will work

    jackson-core-asl-1.7.2.jar

    and

    jackson-mapper-asl-1.7.2.jar

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •