java.lang.NoClassDefFoundError: com/google/inject/internal/guava/base/$Preconditions

Stack Overflow | taboubim | 5 months ago
  1. 0

    Tomcat wont take the Guice configuration

    Stack Overflow | 5 months ago | taboubim
    java.lang.NoClassDefFoundError: com/google/inject/internal/guava/base/$Preconditions
  2. 0

    Issue using apache tiles 3 in spring mvc web project

    Stack Overflow | 1 year ago | Phoebus
    java.lang.ClassNotFoundException: org.apache.tiles.request.ApplicationContext
  3. 0

    How to fix ClassNotFound Warning in Morphia

    Stack Overflow | 1 year ago | DaniloDughetti
    java.lang.ClassNotFoundException: it.frametech.pns.configurator.morphomodel.Applications
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    tomcat error java spring project

    Stack Overflow | 1 year ago | Jerome Campeaux
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Meltum]]
  6. 0

    BeanCreationException: Could not autowire field and java.lang.NullPointerException

    Stack Overflow | 1 year ago | javagirl
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.cumulis.dao.impl.TrackDAOImpl] for bean with name 'trackDAO' defined in ServletContext resource [/WEB-INF/spring/appServlet/servlet-context.xml]; nested exception is java.lang.ClassNotFoundException: com.cumulis.dao.impl.TrackDAOImpl
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

    com.google.inject.internal.guava.base.$Preconditions

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
  2. Glassfish Core
    WebappClassLoaderBase.loadClass
    1. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333)
    2. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
    2 frames
  3. Guice - Servlet
    ServletModule.configure
    1. com.google.inject.servlet.ServletModule.configure(ServletModule.java:46)
    1 frame
  4. Google Guice - Core Library
    Guice.createInjector
    1. com.google.inject.AbstractModule.configure(AbstractModule.java:59)
    2. com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
    3. com.google.inject.spi.Elements.getElements(Elements.java:101)
    4. com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
    5. com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
    6. com.google.inject.Guice.createInjector(Guice.java:95)
    7. com.google.inject.Guice.createInjector(Guice.java:72)
    8. com.google.inject.Guice.createInjector(Guice.java:62)
    8 frames
  5. ca.products.services
    InjectorListener.getInjector
    1. ca.products.services.InjectorListener.getInjector(InjectorListener.java:13)
    1 frame
  6. Guice - Servlet
    GuiceServletContextListener.contextInitialized
    1. com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)
    1 frame
  7. Glassfish Core
    HostConfig.manageApp
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4738)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5181)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    7. org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1678)
    7 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  9. Embedded GlassFish Web
    BaseModelMBean.invoke
    1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    1 frame
  10. Java RT
    JmxMBeanServer.invoke
    1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    2. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    2 frames
  11. Embedded GlassFish Web
    MBeanFactory.createStandardContext
    1. org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:463)
    2. org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:413)
    2 frames
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  13. Embedded GlassFish Web
    BaseModelMBean.invoke
    1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    1 frame
  14. Java RT
    Thread.run
    1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    2. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    3. javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1471)
    4. javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
    5. javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1312)
    6. javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1404)
    7. javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:832)
    8. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    9. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    10. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    11. java.lang.reflect.Method.invoke(Method.java:497)
    12. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
    13. sun.rmi.transport.Transport$1.run(Transport.java:200)
    14. sun.rmi.transport.Transport$1.run(Transport.java:197)
    15. java.security.AccessController.doPrivileged(Native Method)
    16. sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    17. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
    18. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
    19. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683)
    20. java.security.AccessController.doPrivileged(Native Method)
    21. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
    22. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    23. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    24. java.lang.Thread.run(Thread.java:745)
    24 frames