Jackon custom deserializer never called

This is the attribute on which I have used the @JsonDeserialize @Transient @JsonDeserialize(using = SharedUserDeserializer.class) private Set<UserVehicleMappingVO> sharedVehicle; public Set<UserVehicleMappingVO> getSharedVehicle() { ...
more »

2017-08-10 16:08 (2) Answers

Port 8080 already in use in eclipse

I am trying to run a Spring MVC demo file on Eclipse oxygen when I hit the button run as> run on server it shows the following error after a moment Port 8080 required by Tomcat v8.5 Server at localhost is already in use. The server may already be...
more »

2017-08-05 12:08 (4) Answers

Spring return String as JSON, Behaviour changed

During product upgrade from Spring 3.2 to 4.3 I stumbled about a breaking change. @RequestMapping(value = "/{category}", method = RequestMethod.PUT) public ResponseEntity<String> updateMessages(@PathVariable final String category, @Req...
more »

2017-07-31 12:07 (1) Answers

eclipse spring boot starter project gives errors

I was trying to check out the starter project for spring boot provided in Eclipse (version Mars.2) but I get errors. This is what I do: Import new spring getting started content: Selecting spring boot gives me two new projects: Running gs-sp...
more »

2017-07-29 19:07 (1) Answers

How to Apply List of hashmap to jackson DTO

I have an hashmap map = [{asset-id=1, registration=OWE192}, {asset-id=3,registration=OWE197}] @RequestMapping(value = "/abc", method=RequestMethod.PATCH, produces = "application/json;charset=utf-8") public List<Asset> patchAssetRegistrat...
more »

2017-07-29 16:07 (0) Answers

Java : Google Reverse Geocoding with jackson API

I want to get the address using the google Maps API. In my project we are using Jackson parser. I want to know that, how can i get my expected result i.e. :- "A10, Dhamidhar Rd, Yashkamal Society, Vasna, Ahmedabad, Gujarat 380007, India" I want t...
more »

2017-07-25 22:07 (1) Answers