java.lang.NoClassDefFoundError: org/apache/bcel/classfile/Code

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 romos, 1 year ago
org/apache/bcel/classfile/Code
via Jenkins JIRA by romos, 1 year ago
org/apache/bcel/classfile/Code
via GitHub by wilkinsona
, 1 year ago
org/elasticsearch/common/settings/ImmutableSettings$Builder
via Stack Overflow by Malki
, 2 years ago
via Google Groups by Davide Piazza, 5 months ago
org/apache/commons/cli/ParseException
via Stack Overflow by 404
, 2 years ago
org/springframework/integration/MessagingException
java.lang.ClassNotFoundException: org.apache.bcel.classfile.Code
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at edu.umd.cs.findbugs.DetectorFactory$ReflectionDetectorCreator.(DetectorFactory.java:54)
at edu.umd.cs.findbugs.DetectorFactory.(DetectorFactory.java:135)
at edu.umd.cs.findbugs.PluginLoader.init(PluginLoader.java:329)
at edu.umd.cs.findbugs.PluginLoader.getPlugin(PluginLoader.java:135)
at edu.umd.cs.findbugs.DetectorFactoryCollection.loadPlugin(DetectorFactoryCollection.java:448)
at edu.umd.cs.findbugs.DetectorFactoryCollection.loadPlugins(DetectorFactoryCollection.java:333)
at edu.umd.cs.findbugs.DetectorFactoryCollection.ensureLoaded(DetectorFactoryCollection.java:296)
at edu.umd.cs.findbugs.DetectorFactoryCollection.instance(DetectorFactoryCollection.java:116)
at edu.umd.cs.findbugs.I18N.lookupBugPattern(I18N.java:92)
at edu.umd.cs.findbugs.BugInstance.(BugInstance.java:159)
at edu.umd.cs.findbugs.SAXBugCollectionHandler.startElement(SAXBugCollectionHandler.java:202)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
at edu.umd.cs.findbugs.SortedBugCollection.doReadXML(SortedBugCollection.java:286)
at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:263)
at hudson.plugins.findbugs.parser.FindBugsParser.parse(FindBugsParser.java:193)
at hudson.plugins.findbugs.parser.FindBugsParser.parse(FindBugsParser.java:129)
at hudson.plugins.findbugs.parser.FindBugsParser.parse(FindBugsParser.java:89)
at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:197)
at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:176)
at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:126)
at hudson.FilePath.act(FilePath.java:753)
at hudson.FilePath.act(FilePath.java:735)
at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:103)
at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
at hudson.model.Build$RunnerImpl.post2(Build.java:158)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
at hudson.model.Run.run(Run.java:1271)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:129)

Users with the same issue

Once, 1 week ago
Once, 1 month ago
Once, 2 months ago
Once, 2 months ago
5 times, 2 months ago

Write tip

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