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

Coderanch | preethi Ayyappan | 7 years ago
tip
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

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

    coderanch.com | 11 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
  2. 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
  3. 0

    image-upload

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

    Automated exception search integrated into your IDE

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/EndpointReference

    at java.lang.Class.getDeclaredConstructors0()
  2. Java RT
    Class.getDeclaredConstructors
    1. java.lang.Class.getDeclaredConstructors0(Native Method)
    2. java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    3. java.lang.Class.getDeclaredConstructors(Class.java:1836)
    3 frames
  3. Spring Beans
    AbstractAutowireCapableBeanFactory$1.run
    1. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:166)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    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:380)
    2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    7 frames
  6. Spring Context
    ClassPathXmlApplicationContext.<init>
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    3. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
    4. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
    4 frames
  7. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  8. Spring Beans
    AbstractAutowireCapableBeanFactory$1.run
    1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
    3. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    7 frames
  9. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  10. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    7 frames
  11. Spring Context
    ContextSingletonBeanFactoryLocator.initializeDefinition
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    3. org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:141)
    3 frames
  12. Spring Beans
    SingletonBeanFactoryLocator.useBeanFactory
    1. org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:384)
    1 frame
  13. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.loadParentContext(ContextLoader.java:341)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:195)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    3 frames
  14. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
    6. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
    7. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
    8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
    9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
    10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
    11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    13. org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    16. org.apache.catalina.core.StandardService.start(StandardService.java:516)
    17. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    18. org.apache.catalina.startup.Catalina.start(Catalina.java:583)
    18 frames
  15. 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
  16. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    2 frames