java.lang.NoClassDefFoundError: org.sonatype.appcontext.AppContextFactory

Sonatype JIRA | Sai Hegde | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I tried installing Nexuson my Linux box and it failed to start with the following error jvm 5 | Exception in thread "main" java.lang.NoClassDefFoundError: org.sonatype.appcontext.AppContextFactory jvm 5 | at java.lang.Class.initializeClass(libgcj.so.7rh) jvm 5 | at org.sonatype.appbooter.PlexusAppBooter.<init>(PlexusAppBooter.java:50) jvm 5 | at org.sonatype.appbooter.PlexusAppBooterService.<init>(PlexusAppBooterService.java:18) jvm 5 | at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.<init>(PlexusAppBooterJSWListener.java:26) jvm 5 | at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.main(PlexusAppBooterJSWListener.java:104) jvm 5 | at java.lang.reflect.Method.invoke(libgcj.so.7rh) jvm 5 | at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) jvm 5 | at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) jvm 5 | at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) jvm 5 | at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) jvm 5 | Caused by: java.lang.ClassNotFoundException: org.sonatype.appcontext.DefaultAppContext jvm 5 | at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) jvm 5 | at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) jvm 5 | at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) jvm 5 | at java.lang.Class.forName(libgcj.so.7rh) jvm 5 | at java.lang.Class.initializeClass(libgcj.so.7rh)

    Sonatype JIRA | 6 years ago | Sai Hegde
    java.lang.NoClassDefFoundError: org.sonatype.appcontext.AppContextFactory
  2. 0

    I tried installing Nexuson my Linux box and it failed to start with the following error jvm 5 | Exception in thread "main" java.lang.NoClassDefFoundError: org.sonatype.appcontext.AppContextFactory jvm 5 | at java.lang.Class.initializeClass(libgcj.so.7rh) jvm 5 | at org.sonatype.appbooter.PlexusAppBooter.<init>(PlexusAppBooter.java:50) jvm 5 | at org.sonatype.appbooter.PlexusAppBooterService.<init>(PlexusAppBooterService.java:18) jvm 5 | at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.<init>(PlexusAppBooterJSWListener.java:26) jvm 5 | at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.main(PlexusAppBooterJSWListener.java:104) jvm 5 | at java.lang.reflect.Method.invoke(libgcj.so.7rh) jvm 5 | at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) jvm 5 | at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) jvm 5 | at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) jvm 5 | at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) jvm 5 | Caused by: java.lang.ClassNotFoundException: org.sonatype.appcontext.DefaultAppContext jvm 5 | at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) jvm 5 | at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) jvm 5 | at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) jvm 5 | at java.lang.Class.forName(libgcj.so.7rh) jvm 5 | at java.lang.Class.initializeClass(libgcj.so.7rh)

    Sonatype JIRA | 6 years ago | Sai Hegde
    java.lang.NoClassDefFoundError: org.sonatype.appcontext.AppContextFactory
  3. 0

    java.lang.ClassNotFoundException maven

    Stack Overflow | 3 years ago | Bogdan Timofeev
    java.lang.ClassNotFoundException: org.irods.jargon.core.exception.JargonException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue with 3.4-M5-SNAPSHOT

    GitHub | 3 years ago | BasavaiahD
    java.lang.NoClassDefFoundError: org/mule/munit/runner/mule/result/notification/NotificationListener

  1. rsprangemeijer 2 times, last 1 week ago
  2. andyglick 1 times, last 4 weeks ago
  3. andyglick 2 times, last 5 months ago
  4. davidvanlaatum 1 times, last 5 months ago
  5. Adarro 1 times, last 9 months ago
1 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

    org.sonatype.appcontext.DefaultAppContext

    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass()
  2. Plexus
    ClassRealm.loadClass
    1. org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
    2. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
    3. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
    3 frames
  3. Java RT
    Class.initializeClass
    1. java.lang.Class.forName(libgcj.so.7rh)
    2. java.lang.Class.initializeClass(libgcj.so.7rh)
    2 frames