07
Aug

NoClassDefFoundError for ParameterException

Exception in thread "main" java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterException

Please make sure to inlcude the jcommander jar in your build path, for maven for example you can use the following code to do so:

<!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
<dependency>
    <groupId>com.beust</groupId>
    <artifactId>jcommander</artifactId>
    <version>1.27</version>
</dependency>