java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm

GitHub | reyman | 11 months ago
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

    Error "NoClassDefFoundError" on ClassRealm during P2 resolve

    GitHub | 11 months ago | reyman
    java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm
  2. 0

    GitHub comment 8#230717278

    GitHub | 11 months ago | reyman
    java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm
  3. 0

    error while sending mail through cloud

    Stack Overflow | 5 years ago | user1421789
    java.lang.NoClassDefFoundError: is a restricted class. Please see the Google App Engine developer's guide for more details. at at<clinit>(
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't compile the Android test application

    Stack Overflow | 5 years ago | rumtscho
    java.lang.NoClassDefFoundError:</code>. I suspect a bad installation of the SDK, but have no idea what is wrong or how to repair it. </p> <p>My computer runs openSUSE 12.1 64 bit. I have the Oracte JDK version 1.7.0_04 installed, and the Android SDK including Tools and the platforms Android 4.0 and 4.0.3. After the installation, I added the android tools folder to my path environment and added a udev rule for my phone, but have done no further customization. Adb sees my phone and I can capture a screenshot with ddms. I don't use Eclipse. </p> <p>Did I miss some part of the setup? How do I troubleshoot this problem? </p> <p><strong>Update</strong> I found a <a href="" rel="nofollow">mailing list discussion</a> about somebody with the same problem. He solved it by updating a symlink called "keytool" in their /usr/bin, to point at the correct file. I didn't have such a link, so I created it. The problem persists. Somebody who answered the thread suggested that a file called "jarutil.jar" may be missing from the SDK. I don't have such a file in my SDK, even after a reinstall from scratch. As the discussion is over an year old, I don't even know if such a file should be present in the current version. </p> <p>Here is the full output from the <code>ant debug</code> command: </p> <blockquote> <p>rumtscho@bradbury:~/dev/learn-android/MyFirstApp> ant debug Buildfile: /home/rumtscho/dev/learn-android/MyFirstApp/build.xml</p> <p>-set-mode-check:</p> <p>-set-debug-files:</p> <p>-set-debug-mode:</p> <p>-debug-obfuscation-check:</p> <p>-setup: [echo] Creating output directories if needed... [echo] Gathering info for MyFirstApp... [setup] Android SDK Tools Revision 19 [setup] Project Target: Android 4.0.3 [setup] API level: 15 [setup] [setup] ------------------ [setup] Resolving library dependencies: [setup] No library dependencies. [setup] [setup] ------------------ [setup] API&lt;=15: Adding annotations.jar to the classpath. [setup] [setup] ------------------ [setup] WARNING: No minSdkVersion value set. Application will install on all Android versions.</p> <p>-build-setup:</p> <p>-pre-build:</p> <p>-code-gen: [echo] ---------- [echo] Handling aidl files... [aidl] No AIDL files to compile. [echo] ---------- [echo] Handling RenderScript files... [renderscript] No RenderScript files to compile. [echo] ---------- [echo] Handling Resources... [aapt] No changed resources. and untouched. [echo] ---------- [echo] Handling BuildConfig class... [buildconfig] Generating BuildConfig class.</p> <p>-pre-compile:</p> <p>-compile: [javac] Compiling 1 source file to /home/rumtscho/dev/learn-android/MyFirstApp/bin/classes</p> <p>-post-compile:</p> <p>-obfuscate:</p> <p>-dex: [dex] Found modified input file [dex] Converting compiled files and external libraries into /home/rumtscho/dev/learn-android/MyFirstApp/bin/classes.dex...</p> <p>-crunch: [crunch] Crunching PNG Files in source dir: /home/rumtscho/dev/learn-android/MyFirstApp/res [crunch] To destination dir: /home/rumtscho/dev/learn-android/MyFirstApp/bin/res<br> [crunch] Crunched 0 PNG files to update cache</p> <p>-package-resources: [aapt] Creating full resource package...</p> <p>-package: [apkbuilder] Current build type is different than previous build: forced apkbuilder run. [apkbuilder] Creating MyFirstApp-debug-unaligned.apk and signing it with a debug key...</p> <p>BUILD FAILED /home/rumtscho/android-sdk-linux/tools/ant/build.xml:886: The following error occurred while executing this line: /home/rumtscho/android-sdk-linux/tools/ant/build.xml:897: The following error occurred while executing this line: /home/rumtscho/android-sdk-linux/tools/ant/build.xml:307: java.lang.NoClassDefFoundError: at java.lang.Class.initializeClass( at at<br> at<br>
  6. 0

    Class Not Found - Spring Forum | 1 year ago
    java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool at org.apache.commons.dbcp.BasicDataSourceFactory.get ObjectInstance( at org.apache.naming.factory.ResourceFactory.getObjec tInstance( at javax.naming.spi.NamingManager.getObjectInstance(U nknown Source) at org.apache.naming.NamingContext.lookup(NamingConte at org.apache.naming.NamingContext.lookup(NamingConte at org.apache.naming.NamingContext.lookup(NamingConte at org.apache.naming.NamingContext.lookup(NamingConte at org.apache.catalina.core.NamingContextListener.add Resource( at org.apache.catalina.core.NamingContextListener.cre ateNamingContext( at org.apache.catalina.core.NamingContextListener.lif ecycleEvent( at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent( at org.apache.catalina.core.StandardContext.start(Sta at org.apache.catalina.core.ContainerBase.addChildInt ernal( at org.apache.catalina.core.ContainerBase.addChild(Co at org.apache.catalina.core.StandardHost.addChild(Sta at org.apache.catalina.startup.HostConfig.deployDescr iptor( at org.apache.catalina.startup.HostConfig.deployDescr iptors( at org.apache.catalina.startup.HostConfig.deployApps( at org.apache.catalina.startup.HostConfig.start(HostC at org.apache.catalina.startup.HostConfig.lifecycleEv ent( at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent( at org.apache.catalina.core.ContainerBase.start(Conta at org.apache.catalina.core.StandardHost.start(Standa at org.apache.catalina.core.ContainerBase.start(Conta at org.apache.catalina.core.StandardEngine.start(Stan at org.apache.catalina.core.StandardService.start(Sta at org.apache.catalina.core.StandardServer.start(Stan at org.apache.catalina.startup.Catalina.start(Catalin at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)

    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.NoClassDefFoundError


      at sbt.osgi.manager.tycho.Resolve$.resolveP2()
    2. sbt.osgi.manager
      1. sbt.osgi.manager.tycho.Resolve$.resolveP2(Resolve.scala:126)
      2. sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:151)
      3. sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:149)
      3 frames
    3. Scala
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      3. scala.collection.Iterator$class.foreach(Iterator.scala:727)
      4. scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
      5. scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174)
      6. scala.collection.TraversableLike$
      7. scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
      8. scala.collection.SetLike$
      9 frames
    4. sbt.osgi.manager
      1. sbt.osgi.manager.tycho.Resolve$.resolveP2Command(Resolve.scala:149)
      2. sbt.osgi.manager.tycho.action.Resolve.apply(Resolve.scala:72)
      2 frames
    5. Java RT
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(
      4. java.lang.reflect.Method.invoke(
      4 frames