java.lang.NoClassDefFoundError: play/api/libs/json/OWrites$class

Google Groups | Kilic Ali-Firat | 7 months ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.lang.NoClassDefFoundError: play/api/libs/json/OWrites$class

    Google Groups | 7 months ago | Kilic Ali-Firat
    java.lang.NoClassDefFoundError: play/api/libs/json/OWrites$class
  2. 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>(
  3. 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>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Class Not Found - Spring Forum | 11 months 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)
  6. 0

    JPA application noclassdeffound error | 7 months ago
    java.lang.NoClassDefFoundError: org.apache.commons.collections.set.MapBackedSet at org.apache.openjpa.lib.util.concurrent.ConcurrentR eferenceHashSet.<init>(ConcurrentReferenceHashSet. java:68) at wBrokerSet( at org.apache.openjpa.kernel.AbstractBrokerFactory.<i nit>( at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.< init>( at Factory.<init>( at Factory.newInstance( 2) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Native at sun.reflect.DelegatingMethodAccessorImpl.invoke(De

    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


      3 frames
    3. com.bioserenity.bff
      1. com.bioserenity.bff.writer.MongoWriter$.findRecordTest(MongoWriter.scala:32)
      2. com.bioserenity.bff.main.Main$.main(Main.scala:9)
      3. com.bioserenity.bff.main.Main.main(Main.scala)
      3 frames
    4. 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