0

I've recently upgraded my application to use spring-boo-starter 2.7.5 and it now throws the error java.lang.NoClassDefFoundError: kotlin/TypeCastException

 <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.7.5</version>
        <relativePath/>
    </parent>

the error happens in the part where I'm using the okhttp3.mockwebserver.MockWebServer;

import okhttp3.mockwebserver.MockWebServer;
...

server = new MockWebServer();
alegria
  • 1,290
  • 14
  • 23

0 Answers0