https://kotlinlang.org logo
#ktor
Title
# ktor
t

TheOnlyTails

02/22/2021, 10:04 AM
I've opened my project in IDEA 2020.3.2, and this error appeared in
install(ContentNegotiation) { gson { this.setPrettyPrinting() } }
:
Copy code
Cannot access class 'com.google.gson.GsonBuilder'. Check your module classpath for missing or conflicting dependencies
Why is this happening? I have
ktor-gson
included as a gradle dependency.
p

Paul Griffith

02/23/2021, 5:15 PM
Do you have an actual GSON implementation on the classpath?
t

TheOnlyTails

02/23/2021, 5:15 PM
I switched to using something else at the end.
👍 1
2 Views