NoClassDefFoundError

Hi, I have recently changed my development machine and are getting the following error NoClassDefFoundError: org/apache/commons/compress/utils/Lists and don’t seem to be able to resolve it …

What IDE are you using? Are you using Maven or Gradle?

Show your pom.xml or build.gradle

Please post the whole stacktrace

I’m using intellij, and think I resolved it by adding the maven dependency. Works with other similar projects without that specific in the pom.xml file …

you can call

mvn dependency:tree

then you’ll see if the dependency is contained transitive

Thanks, didn’t know that command existed but it’s pretty great