maven-assembly-plugin NoClassDefFoundError when instantiating an object from a dependency
I want to create a single executable jar file including its dependency. I want the dependency to be stored under lib/ as jar files, the main app itself is unpacked at the top level of the jar. When executing the jar file however, it throws me a NoClassDefFoundError when trying to instantiate an object from the dependency.