java.lang.NoClassDefFoundError: Lcom/mongodb/MongoClient;

ICEsoft JIRA Issue Tracker | Carmen Cristurean | 8 months ago
  1. 0

    easyAjaxPush (All) - cannot be deployed on Tomcat due to errors caused by the recent push changes - tutorial build files must be updated to add the mongo* and morphia* jars to the .war file; adding the jars fixes the deployment and the test passes. Again, unless there is a jira for this already, should create a Jira. Apr 13, 2016 11:54:35 AM org.apache.catalina.core.StandardContext listenerStart SEVERE: Skipped installing application listeners due to previous error(s) Apr 13, 2016 11:55:16 AM org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application listener of class org.icepush.DatabaseConfigurator java.lang.NoClassDefFoundError: Lcom/mongodb/MongoClient; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2397) at java.lang.Class.getDeclaredFields(Class.java:1806) at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106) at org.apache.catalina.core.DefaultInstanceManager.populateAnnotationsCache(DefaultInstanceManager.java:302) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:161) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:143) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4854) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.ClassNotFoundException: com.mongodb.MongoClient at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) ... 20 more

    ICEsoft JIRA Issue Tracker | 8 months ago | Carmen Cristurean
    java.lang.NoClassDefFoundError: Lcom/mongodb/MongoClient;
  2. 0

    easyAjaxPush (All) - cannot be deployed on Tomcat due to errors caused by the recent push changes - tutorial build files must be updated to add the mongo* and morphia* jars to the .war file; adding the jars fixes the deployment and the test passes. Again, unless there is a jira for this already, should create a Jira. Apr 13, 2016 11:54:35 AM org.apache.catalina.core.StandardContext listenerStart SEVERE: Skipped installing application listeners due to previous error(s) Apr 13, 2016 11:55:16 AM org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application listener of class org.icepush.DatabaseConfigurator java.lang.NoClassDefFoundError: Lcom/mongodb/MongoClient; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2397) at java.lang.Class.getDeclaredFields(Class.java:1806) at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106) at org.apache.catalina.core.DefaultInstanceManager.populateAnnotationsCache(DefaultInstanceManager.java:302) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:161) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:143) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4854) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.ClassNotFoundException: com.mongodb.MongoClient at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) ... 20 more

    ICEsoft JIRA Issue Tracker | 8 months ago | Carmen Cristurean
    java.lang.NoClassDefFoundError: Lcom/mongodb/MongoClient;
  3. 0

    Can't deploy YouTrack on Tomcat 7 (org.apache.catalina.LifecycleException)

    Stack Overflow | 3 years ago | Jawap
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/youtrack]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Env=value, deploy on Tomcat | spring - maven - spring-mvc - tomcat - system-properties

    solutionscore.com | 1 year ago
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/youtrack]]
  6. 0

    解决有关问题 - 行业应用

    myexception.cn | 1 year ago
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]]

  1. treefolk 1 times, last 7 days ago
  2. Tahir 2 times, last 2 months ago
  3. Piz 2027 times, last 4 months ago
  4. jedcua 1 times, last 4 months ago
  5. esaar 3 times, last 4 months ago
5 more registered users
90 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

    com.mongodb.MongoClient

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)
    2 frames
  3. Java RT
    Class.getDeclaredFields
    1. java.lang.Class.getDeclaredFields0(Native Method)
    2. java.lang.Class.privateGetDeclaredFields(Class.java:2397)
    3. java.lang.Class.getDeclaredFields(Class.java:1806)
    3 frames
  4. Glassfish Core
    HostConfig$DeployWar.run
    1. org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)
    2. org.apache.catalina.core.DefaultInstanceManager.populateAnnotationsCache(DefaultInstanceManager.java:302)
    3. org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:161)
    4. org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:143)
    5. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4854)
    6. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
    7. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    8. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    9. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    10. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    11. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983)
    12. org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660)
    12 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    5. java.lang.Thread.run(Thread.java:744)
    5 frames