java.lang.NoClassDefFoundError: Could not initialize class org.joda.time.Period

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

java.lang.NoClassDefFoundError: Could not initialize class org.joda.time.Period
at net.masterthought.cucumber.util.Util.formatDuration(Util.java:131)
at net.masterthought.cucumber.ReportInformation.getTotalDurationAsString(ReportInformation.java:100)
at net.masterthought.cucumber.ReportBuilder.generateFeatureOverview(ReportBuilder.java:148)
at net.masterthought.cucumber.ReportBuilder.generateReports(ReportBuilder.java:77)
at net.masterthought.jenkins.CucumberReportPublisher.perform(CucumberReportPublisher.java:113)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724)
at hudson.model.Run.execute(Run.java:1600)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.