java.lang.NoSuchMethodError: com.gargoylesoftware.htmlunit.WebClient.setCookiesEnabled(Z)V

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

Solutions on the web

via Jenkins JIRA by Jeremy Nelson, 1 year ago
via Jenkins JIRA by Jeremy Nelson, 1 year ago
java.lang.NoSuchMethodError: com.gargoylesoftware.htmlunit.WebClient.setCookiesEnabled(Z)V
at hudson.plugins.campfire.Campfire.(Campfire.java:51)
at hudson.plugins.campfire.CampfireNotifier.initialize(CampfireNotifier.java:62)
at hudson.plugins.campfire.CampfireNotifier.initialize(CampfireNotifier.java:58)
at hudson.plugins.campfire.CampfireNotifier.checkCampfireConnection(CampfireNotifier.java:53)
at hudson.plugins.campfire.CampfireNotifier.publish(CampfireNotifier.java:42)
at hudson.plugins.campfire.CampfireNotifier.perform(CampfireNotifier.java:80)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635)
at hudson.model.Build$RunnerImpl.post2(Build.java:161)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604)
at hudson.model.Run.run(Run.java:1400)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:175)

Users with the same issue

You are the first who have seen this exception.

Write tip

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