java.lang.NoClassDefFoundError

tip

org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar

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

  • How can we run OSGi components with JSF
    via by Danlley Wei,
  • Server started with Deployment Errors
    via by Mamadou Diallo,
  • PDF Tools Project
    via by Unknown author,
  • Joda time java.lang.NoClassDefFoundError
    via by Lisa Johnston,
  • classNotFoundException GWTBridge
    via by Unknown author,
  • Mock class with missing dependencies
    via Stack Overflow by ainlolcat
    ,
  • GlassFish Server upgrade
    via Stack Overflow by pcsenthil
    ,
    • java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.sun.faces.config.ConfigureListener.isJspTwoOne(ConfigureListener.java:1498) at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1542) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:403) at org.danlley.osgi.jsf.other.ServletContextListenerServletAdaptor.init(ServletContextListenerServletAdaptor.java:36) at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.init(ContextPathServletAdaptor.java:32) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:64) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:142) at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:50) at org.danlley.osgi.jsf.other.Activator$HttpServiceTracker.addingService(Activator.java:78) at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064) at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926) at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330) at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274) at org.danlley.osgi.jsf.other.Activator.start(Activator.java:32) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:252) at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:260) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:150) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:300) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:285) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:221) at java.lang.Thread.run(Thread.java:619)

    Users with the same issue

    Unknown visitor1 times, last one,
    pulse00
    6 times, last one,
    guizmaii
    2 times, last one,
    andyglick
    1 times, last one,
    serious2monkeys
    60 times, last one,
    66 more bugmates