Witam,
dopiero zaczynam uczyć się Spring'a i od paru dni utknąłem w miejscu. Na razie aplikacja ma zwrócić 3 studentów na twardo wklepanych w kodzie. Otrzymuje następujący błąd po włączeniu http://localhost:8080/students/ (droga do funkcji).
<html><body>Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Wed Nov 02 21:41:23 CET 2016There was an unexpected error (type=Internal Server Error, status=500).Could not write content: No serializer found for class com.elderdrop.Entity.Student and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: java.util.Values[0]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class com.elderdrop.Entity.Student and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: java.util.Values[0])</body></html>
Próbowałem znaleźć odpowiedź na stackoverflowe lecz jedynie co udało mi się uzyskać pustego JSON'a "[{}{}{}]".
Mój kod na githubie https://github.com/ElderDrop/springBoot
Z góry dziękuje za pomoc :D