Issue: When access a created mappings(columns saved) springboot returns [org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: EL1008E: Property or field 'providedBy' cannot be found on object of type 'cat.udl.eps.softarch.demo.domain.Column' - maybe not public or not valid?]
Solution: Change serialization by return resourceAssembler.toFullResource(mapping); to new ResponseEntity<>(m, HttpStatus.OK);
Issue: When access a created mappings(columns saved) springboot returns
[org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: EL1008E: Property or field 'providedBy' cannot be found on object of type 'cat.udl.eps.softarch.demo.domain.Column' - maybe not public or not valid?]
Solution: Change serialization by
return resourceAssembler.toFullResource(mapping);
tonew ResponseEntity<>(m, HttpStatus.OK);