404 spring controller error if JSON string contains number greater than 10 digits
问题 I'm having a controller which gets json as string in request body as below @PostMapping("/addUser") public ResponseEntity<?> addUser (@RequestBody String userJson,HttpServletRequest request) { log.info("inside add user controller") String responseStatus = serviceInterface.addUser (userJson); return new ResponseEntity (responseStatus); } The request body is { "user": { "username": "testuser", "userId": 12345678901233, "phonenumber": "9876756475", "emailaddress": "test@org.com" } } The problem