Avatar ·

No Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator) em Kotlin com Jackson e Retrofit

Olá a todos! Sou novo em Kotlin e desenvolvimento Android. Estou escrevendo um aplicativo que recebe dados do servidor via Retrofit e Jackson. Tenho uma data class para a resposta da API: ```kotlin data class UserResponse( val id: Int, val name: String, val email: String ) ``` E a interface Retrofit: ```kotlin interface ApiService { @GET("users/{id}") suspend fun getUser(@Path("id") userId: Int): UserResponse } ``` Na `MainActivity`, faço a requisição: ```kotlin lifecycleScope.launch { val response = apiService.getUser(1) textView.text = response.name } ``` Mas o aplicativo falha com o erro: ``` com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.example.app.UserResponse` (no Creators, like default co