yichunzhao / Jpa-Query-Inheritance

Demo JPA Query and Inheritance, unit and integration test
0 stars 0 forks source link

Unrecognized token 'Application': #2

Closed yichunzhao closed 4 years ago

yichunzhao commented 4 years ago

org.springframework.web.client.RestClientException: Error while extracting response for type [class com.ynz.jpa.dto.ApplicationDto] and content type [application/json]; nested exception is org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unrecognized token 'Application': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false'); nested exception is com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Application': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false') at [Source: (PushbackInputStream); line: 1, column: 13]

yichunzhao commented 4 years ago

the server returns a 404 error page; page content is not in a JSON format.