Skip to content

Maven error in Eclipse when including aws-java-sdk-acmpca

Whenever I add the dependency below, I get this error in Eclipse: Errors running builder ‘Maven Project Builder’ on project. Could not initialize class okhttp3.internal.platform.Platform


I tried adding it to its own project with no other dependencies and I still get the same error so I don’t think that a dependency is clashing with anything else. Is it possibly caused by okhttp’s move to Kotlin? More importantly, how do I move past this error?


I ended up resolving this by updating my version of Eclipse. The version that had the issue (for me) is Release 4.16 (2020-06). I updated to Release 4.19 (2021-03) and everything works now.