java.lang.NoClassDefFoundError

java/nio/charset/StandardCharsets

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1190

  • via GitHub by uwolfer
    , 1 year ago
    java/nio/charset/StandardCharsets
  • via Jenkins JIRA by Erik Lattimore, 11 months ago
    java/nio/charset/StandardCharsets
  • java/nio/charset/StandardCharsets
  • Stack trace

    • java.lang.NoClassDefFoundError: java
    • io/charset/StandardCharsets at hudson.plugins.mstest.ContentCorrector.fix(ContentCorrector.java:27) at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:73) at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:23) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:120) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Caused by: java.lang.ClassNotFoundException: java.nio.charset.StandardCharsets at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(Unknown Source) ... 15 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 4 months ago
    Unknown user
    Once, 4 months ago
    Unknown user
    Once, 7 months ago
    Unknown user
    Once, 11 months ago
    22 more bugmates