java.lang.NoClassDefFoundError: org/glassfish/hk2/api/ServiceLocatorFactory$CreatePolicy

Stack Overflow | shahna | 2 months ago
  1. 0

    java rest webservice, java.lang.NoClassDefFoundError: org/glassfish/jersey/server/spi/Container

    Stack Overflow | 2 months ago | shahna
    java.lang.NoClassDefFoundError: org/glassfish/hk2/api/ServiceLocatorFactory$CreatePolicy
  2. 0

    NoClassDefFoundError: gnu/trove/map/TObjectIntMap

    GitHub | 3 years ago | jiangfeng1124
    java.lang.NoClassDefFoundError: gnu/trove/map/TObjectIntMap
  3. 0

    workspace corrupted grails 2.2.4, Intellij Idea 12.1.4, Windows 7

    Stack Overflow | 3 years ago | fsch
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Netty class not found exception while executing JAR

    Stack Overflow | 2 years ago | user2191344
    java.lang.NoClassDefFoundError: org/jboss/netty/channel/socket/ServerSocketChannelFactory

  1. archenroot 1 times, last 2 weeks ago
  2. tyson925 5 times, last 2 weeks ago
  3. tzrlk 1 times, last 2 weeks ago
  4. musketyr 1 times, last 2 weeks ago
  5. kjhdofjosvs 3 times, last 3 weeks ago
63 more registered users
32 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.glassfish.hk2.api.ServiceLocatorFactory$CreatePolicy

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(Unknown Source)
    2. java.lang.ClassLoader.loadClass(Unknown Source)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    4. java.lang.ClassLoader.loadClass(Unknown Source)
    4 frames
  3. Jersey Core
    Injections.createLocator
    1. org.glassfish.jersey.internal.inject.Injections._createLocator(Injections.java:141)
    2. org.glassfish.jersey.internal.inject.Injections.createLocator(Injections.java:113)
    2 frames
  4. jersey-core-server
    RuntimeDelegateImpl.<init>
    1. org.glassfish.jersey.server.internal.RuntimeDelegateImpl.<init>(RuntimeDelegateImpl.java:63)
    1 frame
  5. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    5. java.lang.Class.newInstance(Unknown Source)
    5 frames
  6. JavaEE 7
    UriBuilder.fromUri
    1. javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:117)
    2. javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:165)
    3. javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:135)
    4. javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:120)
    5. javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:95)
    6. javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
    6 frames
  7. co.test
    RestClient.main
    1. co.test.RestClient.getBaseUri(RestClient.java:31)
    2. co.test.RestClient.main(RestClient.java:18)
    2 frames