Skip to content

Convertapi 2.2 to 2.9 - Error: java.lang.NoClassDefFoundError: Could not initialize class com.convertapi.client.Http #31

@amungen

Description

@amungen

Hello,
I am using Netbeans IDE 15 and JDK14. When I changed com.convertapi.client from 2.2 to 2.9, I started getting the error "java.lang.NoClassDefFoundError: Could not initialize class com.convertapi.client.Http" and the connection was not opening.

As a solution, I added the below jar in maven.

 <dependency>
         <groupId>org.jetbrains.kotlin</groupId>
         <artifactId>kotlin-stdlib</artifactId>
         <version>1.3.70</version>
     </dependency>

When I added this jar it worked fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions