java.lang.NoClassDefFoundError: Could not initialize class com.splwg.ejb.service.impl.ServiceBeanContext

Oracle Community | user55555 | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Exception In Bean Class While Retrieving Info From Table

    wpthm.com | 2 years ago
    java.lang.NoClassDefFoundError: Could not initialize class com.splwg.ejb.service.impl.ServiceBeanContext
  2. 0

    MDM 2.0.1 - startup error - Utilities

    developer-works.com | 2 years ago
    java.lang.NoClassDefFoundError: Could not initialize class com.splwg.ejb.service.impl.ServiceBeanContext
  3. 0

    MDM 2.0.1 - startup error

    Oracle Community | 5 years ago | user55555
    java.lang.NoClassDefFoundError: Could not initialize class com.splwg.ejb.service.impl.ServiceBeanContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error while sending mail through cloud

    Stack Overflow | 5 years ago | user1421789
    java.lang.NoClassDefFoundError: javax.net.SocketFactory is a restricted class. Please see the Google App Engine developer's guide for more details. at com.google.appengine.runtime.Request.process-02f037dc0f1c0aab(Request.java) at javax.net.SocketFactory.<clinit>(SocketFactory.java)
  6. 0

    Can't compile the Android test application

    Stack Overflow | 5 years ago | rumtscho
    java.lang.NoClassDefFoundError: com.android.sdklib.internal.build.DebugKeyProvider</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="http://groups.google.com/group/android-beginners/browse_thread/thread/5bbfbafbb4c15535?fwc=1" 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. R.java and Manifest.java 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: com.android.sdklib.internal.build.DebugKeyProvider at java.lang.Class.initializeClass(libgcj.so.12) at com.android.sdklib.build.ApkBuilder.getDebugKeystore(ApkBuilder.java:919) at com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:334)<br> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)<br>

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

      Could not initialize class com.splwg.ejb.service.impl.ServiceBeanContext

      at com.splwg.ejb.service.impl.ServiceBean.initializeContext()
    2. com.splwg.ejb
      ServiceBean.initializeContext
      1. com.splwg.ejb.service.impl.ServiceBean.initializeContext(ServiceBean.java:52)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames