Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9152285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:00:20+00:00 2026-06-17T12:00:20+00:00

After searching all the related links in StackOverflow for the given title I am

  • 0

After searching all the related links in StackOverflow for the given title I am posting this question.

My Controller code is:

@RequestMapping(value="/user/update", method = RequestMethod.GET, headers="Accept=*/*")
    public @ResponseBody List<Users> getContentSummaryData(@RequestParam String user, @RequestParam String userid){
        return Users.findAllUsers();
    }

And My jquery request is as follows:

$.getJSON("user/update", { user: "user", userid:"1230" }, function(data){
        console.log(data);
    });

But as usual a 406 error in console which is as follows:

GET http://localhost:8080/mycontext/user/update?user=user&userid=1230 406 (Not Acceptable) 

According to every configuration found in here(StackOverflow), I checked and rechecked.
I have been fighting with problem since past 1 hour. Can anybody help???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:00:21+00:00Added an answer on June 17, 2026 at 12:00 pm

    After posting this I researched again.
    I found that two JARs required. I added them to classpath.

    jackson-mapper-asl-1.7.4.jar & jackson-core-asl-1.7.4.jar

    Its now working fine. Phewwww….

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

after searching google i got a code which works but this code download all
I think this question should be something easy but after searching all over the
I'm sure this question HAS to have been asked, but after searching through the
After searching online this is a question I have been unable to find an
After searching for a tableless model example I came across this code which seems
After searching a lot in all the related issues at Stack Overflow and finding
This is a stupidly easy question, however after searching for a long time I
After searching, I have yet to find the solution to my jquery-related question online.
I'm using ubuntu x64, after two days and searching all the net, still i've
After searching online and reading the Oracle documentation for this, I need some help

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.