java.lang.NoClassDefFoundError: javax/xml/ws/Service

hivmr.com | 4 months ago
  1. 0

    image-upload

    Google Groups | 8 years ago | garyj
    java.lang.NoClassDefFoundError: org/hibernate/SessionFactory
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    unable to start jbilling (Java in General forum at Coderanch)

    coderanch.com | 9 months ago
    org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:jbilling-beansRefFactory.xml], factory key [com.sapienter.jbilling]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.sapienter.jbilling' defined in URL [file:/C:/jbilling/conf/jbilling-beansRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: javax/xml/ws/EndpointReference
  4. 0

    unable to start jbilling

    Coderanch | 7 years ago | preethi Ayyappan
    org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:jbilling-beansRefFactory.xml], factory key [com.sapienter.jbilling]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.sapienter.jbilling' defined in URL [file:/C:/jbilling/conf/jbilling-beansRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: javax/xml/ws/EndpointReference

  1. davidvanlaatum 10 times, last 6 months ago
25 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

    javax/xml/ws/Service

    at java.lang.ClassLoader.defineClass2()
  2. Java RT
    Class.getDeclaredConstructors
    1. java.lang.ClassLoader.defineClass2(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:719)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:160)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:254)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    7. java.security.AccessController.doPrivileged(Native Method)
    8. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    9. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    10. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    11. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    12. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    13. java.lang.Class.getDeclaredConstructors0(Native Method)
    14. java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
    15. java.lang.Class.getDeclaredConstructors(Class.java:1808)
    15 frames
  3. Spring Beans
    AbstractAutowireCapableBeanFactory$1.run
    1. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:152)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:957)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:869)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:514)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485)
    5 frames
  4. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  5. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
    2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
    4. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
    6. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:413)
    6 frames
  6. Spring Context
    ClassPathXmlApplicationContext.init
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
    3. org.springframework.context.support.ClassPathXmlApplicationContext.init(ClassPathXmlApplicationContext.java:122)
    4. org.springframework.context.support.ClassPathXmlApplicationContext.init(ClassPathXmlApplicationContext.java:66)
    4 frames
  7. company.app
    Main.main
    1. company.app.Main.main(Main.java:10)
    1 frame