java.lang.NoClassDefFoundError: org/apache/http/protocol/HttpContext

  1. 0

    Spring-boot gets an error when creating custom RestTemplate

    Stack Overflow | 4 months ago | Shofwan Amrullah
    java.lang.NoClassDefFoundError: org/apache/http/protocol/HttpContext
  2. 0

    java.lang.NoClassDefFoundError: com/google/zxing/LuminanceSource

    GitHub | 4 months ago | coolstar1204
    java.lang.NoClassDefFoundError: com/google/zxing/LuminanceSource
  3. 0

    The following error message occurs when I try to navigate to the Jenkins, formerly Hudson, URL (/hudson/login?from=%2Fhudson%2F). {code:title=Bar.java|borderStyle=solid} Status Code: 500 Exception: Stacktrace: com.google.common.collect.ComputationException: org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Could not parse Jelly script : jar:file:/var/lib/hudson/war/WEB-INF/lib/hudson-core-1.395.jar!/hudson/model/Hudson/login.jelly at com.google.common.collect.ComputingConcurrentHashMap.compute(ComputingConcurrentHashMap.java:218) at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:100) at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:515) at org.kohsuke.stapler.AbstractTearOff.findScript(AbstractTearOff.java:65) at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:74) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:478) at org.kohsuke.stapler.Stapler.service(Stapler.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:636) Caused by: org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Could not parse Jelly script : jar:file:/var/lib/hudson/war/WEB-INF/lib/hudson-core-1.395.jar!/hudson/model/Hudson/login.jelly at org.kohsuke.stapler.AbstractTearOff$1.apply(AbstractTearOff.java:126) at org.kohsuke.stapler.AbstractTearOff$1.apply(AbstractTearOff.java:119) at com.google.common.collect.ComputingConcurrentHashMap.compute(ComputingConcurrentHashMap.java:206) ... 46 more Caused by: org.apache.commons.jelly.JellyException: Could not parse Jelly script : jar:file:/var/lib/hudson/war/WEB-INF/lib/hudson-core-1.395.jar!/hudson/model/Hudson/login.jelly at org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java:527) at org.kohsuke.stapler.jelly.JellyClassTearOff.parseScript(JellyClassTearOff.java:54) at org.kohsuke.stapler.jelly.JellyClassTearOff.parseScript(JellyClassTearOff.java:45) at org.kohsuke.stapler.AbstractTearOff.loadScript(AbstractTearOff.java:83) at org.kohsuke.stapler.AbstractTearOff.access$000(AbstractTearOff.java:36) at org.kohsuke.stapler.AbstractTearOff$1.apply(AbstractTearOff.java:122) ... 48 more Caused by: org.apache.commons.jelly.util.SAXParseException: Error at (25, 143) of jar:file:/var/lib/hudson/war/WEB-INF/lib/hudson-core-1.395.jar!/hudson/model/Hudson/login.jelly : Error at (25, 143) of jar:file:/var/lib/hudson/war/WEB-INF/lib/hudson-core-1.395.jar!/hudson/model/Hudson/login.jelly : Could not load class: core so taglib instantiation failed at org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1233) at org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1255) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1067) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:634) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:504) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:602) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3071) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:897) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:624) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:486) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:810) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:740) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:110) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1135) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:536) at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:346) at org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java:523) ... 53 more Caused by: org.apache.commons.jelly.util.SAXParseException: Error at (25, 143) of jar:file:/var/lib/hudson/war/WEB-INF/lib/hudson-core-1.395.jar!/hudson/model/Hudson/login.jelly : Could not load class: core so taglib instantiation failed at org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1233) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1021) ... 69 more Caused by: java.lang.ClassNotFoundException: core at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:319) at java.lang.ClassLoader.loadClass(ClassLoader.java:264) at winstone.classLoader.WebappClassLoader.loadClass(WebappClassLoader.java:83) at java.lang.ClassLoader.loadClass(ClassLoader.java:264) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1016) ... 69 more Generated by Winstone Servlet Engine v0.9.10 at Fri Feb 04 13:08:23 EST 2011 {code}

    Jenkins JIRA | 6 years ago | Chris Strosser
    com.google.common.collect.ComputationException: org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Could not parse Jelly script : jar:file:/var/lib/hudson/war/WEB-INF/lib/hudson-core-1.395.jar!/hudson/model/Hudson/login.jelly
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    POI - Dev - Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/poi/ss/formula/udf/IndexedUDFFinder

    nabble.com | 8 months ago
    java.lang.NoClassDefFoundError: org/apache/poi/ss/formula/udf/IndexedUDFFinder
  6. 0

    Deserilaization ClassNotFound exception: org.netbeans.core.windows.ModeImpl

    Oracle Community | 8 years ago | 843790
    java.lang.ClassNotFoundException: org.netbeans.core.windows.ModeImpl

  1. andyglick 2 times, last 6 days ago
  2. richard77 1 times, last 1 week ago
  3. musketyr 2 times, last 1 week ago
  4. michallos 2 times, last 1 week ago
  5. batwalrus76 2 times, last 1 week ago
67 more registered users
28 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.http.protocol.HttpContext

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(Unknown Source)[na:1.7.0_60]
    2. java.net.URLClassLoader$1.run(Unknown Source)[na:1.7.0_60]
    3. java.security.AccessController.doPrivileged(Native Method)[na:1.7.0_60]
    4. java.net.URLClassLoader.findClass(Unknown Source)[na:1.7.0_60]
    5. java.lang.ClassLoader.loadClass(Unknown Source)[na:1.7.0_60]
    6. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)[na:1.7.0_60]
    7. java.lang.ClassLoader.loadClass(Unknown Source)[na:1.7.0_60]
    7 frames
  3. com.xl.MbbI
    HTTPConfiguration$$EnhancerBySpringCGLIB$$191f99f$$FastClassBySpringCGLIB$$8330ce57.invoke
    1. com.xl.MbbI.config.HTTPConfiguration.clientHttpRequestFactory(HTTPConfiguration.java:25)[classes/:na]
    2. com.xl.MbbI.config.HTTPConfiguration.restTemplate(HTTPConfiguration.java:21)[classes/:na]
    3. com.xl.MbbI.config.HTTPConfiguration$$EnhancerBySpringCGLIB$$191f99f.CGLIB$restTemplate$0(<generated>)[na:na]
    4. com.xl.MbbI.config.HTTPConfiguration$$EnhancerBySpringCGLIB$$191f99f$$FastClassBySpringCGLIB$$8330ce57.invoke(<generated>)[na:na]
    4 frames
  4. Spring Core
    MethodProxy.invokeSuper
    1. org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)[spring-core-4.3.0.RC2.jar:4.3.0.RC2]
    1 frame
  5. Spring Context
    ConfigurationClassEnhancer$BeanMethodInterceptor.intercept
    1. org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)[spring-context-4.3.0.RC2.jar:4.3.0.RC2]
    1 frame
  6. com.xl.MbbI
    HTTPConfiguration$$EnhancerBySpringCGLIB$$191f99f.restTemplate
    1. com.xl.MbbI.config.HTTPConfiguration$$EnhancerBySpringCGLIB$$191f99f.restTemplate(<generated>)[na:na]
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_60]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_60]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_60]
    4. java.lang.reflect.Method.invoke(Unknown Source)[na:1.7.0_60]
    4 frames
  8. Spring Beans
    SimpleInstantiationStrategy.instantiate
    1. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)[spring-beans-4.3.0.RC2.jar:4.3.0.RC2]
    1 frame