org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'annotationMapping' defined in class path resource [applicationContext-ws.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/sun/xml/wss/XWSSecurityException

Stack Overflow | Developer | 3 months ago
  1. 0

    Getting NoClassDefFoundError for com.sun.xml.wss.XWSSecurityException

    Stack Overflow | 3 months ago | Developer
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'annotationMapping' defined in class path resource [applicationContext-ws.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/sun/xml/wss/XWSSecurityException
  2. 0

    Spring MVC Hibernate Error

    Stack Overflow | 2 years ago | Mehrdad Abdolghafari
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0' defined in ServletContext resource [/WEB-INF/config/servlet-config.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonGenerator
  3. 0

    SpringBoot MVC application deployed on Tomcat wont working

    Stack Overflow | 10 months ago | Cedomir Mijajlovic
    java.lang.NoClassDefFoundError: com/itengine/scoretracker/dao/dto/ActionDTO
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tiles ApplicationContext class not found when upgrading to Tiles 3 and Spring 4

    Stack Overflow | 9 months ago | zalpha314
    java.lang.NoClassDefFoundError: org/apache/tiles/request/ApplicationContext
  6. 0

    javax/mail/MessagingException in Spring 4 MVC

    Stack Overflow | 8 months ago | Francisco José Rivera Pantoja
    java.lang.NoClassDefFoundError: javax/mail/MessagingException

  1. ruifung 1 times, last 3 months ago
  2. linxiaolong 1 times, last 2 weeks ago
  3. treefolk 3 times, last 2 weeks ago
  4. DoktorDoener666 5 times, last 4 weeks ago
  5. kjhdofjosvs 1 times, last 1 month ago
7 more registered users
88 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

    com.sun.xml.wss.XWSSecurityException

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
  2. Glassfish Core
    WebappClassLoaderBase.loadClass
    1. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1856)
    2. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1705)
    2 frames
  3. Java RT
    Class.getDeclaredMethods
    1. java.lang.Class.getDeclaredMethods0(Native Method)
    2. java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
    3. java.lang.Class.getDeclaredMethods(Class.java:1860)
    3 frames
  4. Spring Core
    ReflectionUtils.doWithMethods
    1. org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:609)
    2. org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:521)
    3. org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:507)
    3 frames
  5. Spring Beans
    DefaultListableBeanFactory.getBeansOfType
    1. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:241)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1069)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    6. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    7. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    8. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    9. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    10. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
    11. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
    12. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:382)
    13. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:157)
    14. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481)
    15. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)
    16. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
    17. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
    18. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    19. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    20. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    21. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    22. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
    23. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:534)
    23 frames
  6. Spring Context
    AbstractApplicationContext.getBeansOfType
    1. org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1167)
    1 frame
  7. Spring Beans
    BeanFactoryUtils.beansOfTypeIncludingAncestors
    1. org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:310)
    1 frame
  8. Spring WS Core
    MessageDispatcher.setApplicationContext
    1. org.springframework.ws.server.MessageDispatcher.initEndpointMappings(MessageDispatcher.java:471)
    2. org.springframework.ws.server.MessageDispatcher.setApplicationContext(MessageDispatcher.java:160)
    2 frames
  9. Spring Context
    ApplicationContextAwareProcessor.postProcessBeforeInitialization
    1. org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:119)
    2. org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:94)
    2 frames
  10. Spring Beans
    AbstractAutowireCapableBeanFactory.doCreateBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
    3 frames