java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterException

JDK Bug System | Sean Mullan | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    So far, I have seen a couple of tests failing with the following stack trace: java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterException at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:214) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) Caused by: java.lang.ClassNotFoundException: com.beust.jcommander.ParameterException at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-internal/BuiltinClassLoader.java:366) at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-internal/ClassLoaders.java:185) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) ... 8 more The tests that are failing are: 1. jdk/test/java/JTwork/java/security/AccessController/LimitedDoPrivilegedWithNullPerms.java 2. jdk/test/java/JTwork/java/security/Provider/SecurityProviderModularTest.java

    JDK Bug System | 11 months ago | Sean Mullan
    java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterException

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com/beust/jcommander/ParameterException

      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main()
    2. com.sun.javatest
      TestNGAction$TestNGRunner.main
      1. com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:214)
      2. com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184)
      2 frames