java.lang.NoClassDefFoundError: org/springframework/oxm/Unmarshaller

Spring JIRA | Vicky Kak | 2 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

    The module/lib contains the necessary jars but it is not taken, I am attaching the simple custom module which contains just few beans. Here is how I am creating the job from the xd-shell job create --name job1 --definition "job-custom" --deploy The server logs contains this error *************************************************************************************** 10:43:20,193 1.1.0.M2 INFO DeploymentsPathChildrenCache-0 server.DeploymentListener - Deploying module [ModuleDescriptor@2963e1e2 moduleName = 'job-custom', moduleLabel = 'job-custom', group = 'job1', sourceChannelName = [null], sinkChannelName = [null], index = 0, type = job, parameters = map[[empty]], children = list[[empty]]] 10:43:20,697 1.1.0.M2 ERROR DeploymentsPathChildrenCache-0 boot.SpringApplication - Application startup failed java.lang.NoClassDefFoundError: org/springframework/oxm/Unmarshaller at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2531) at java.lang.Class.getDeclaredMethods(Class.java:1855) at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:571) *************************************************************************************** I already had been discussing this over the forums but could not get much help. stackoverflow.com/questions/27878047/noclassdefinitionerror-with-simple-bean-configuration If I place the spring-oxm jar in the spring-xd lib I get this error *************************************************************************************** java.lang.IllegalStateException: Cannot convert value of type [org.springframework.oxm.jaxb.Jaxb2Marshaller] to required type [org.springframework.oxm.Unmarshaller] for property 'unmarshaller': no matching editors or conversion strategy found ***************************************************************************************

    Spring JIRA | 2 years ago | Vicky Kak
    java.lang.NoClassDefFoundError: org/springframework/oxm/Unmarshaller
  2. 0

    The module/lib contains the necessary jars but it is not taken, I am attaching the simple custom module which contains just few beans. Here is how I am creating the job from the xd-shell job create --name job1 --definition "job-custom" --deploy The server logs contains this error *************************************************************************************** 10:43:20,193 1.1.0.M2 INFO DeploymentsPathChildrenCache-0 server.DeploymentListener - Deploying module [ModuleDescriptor@2963e1e2 moduleName = 'job-custom', moduleLabel = 'job-custom', group = 'job1', sourceChannelName = [null], sinkChannelName = [null], index = 0, type = job, parameters = map[[empty]], children = list[[empty]]] 10:43:20,697 1.1.0.M2 ERROR DeploymentsPathChildrenCache-0 boot.SpringApplication - Application startup failed java.lang.NoClassDefFoundError: org/springframework/oxm/Unmarshaller at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2531) at java.lang.Class.getDeclaredMethods(Class.java:1855) at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:571) *************************************************************************************** I already had been discussing this over the forums but could not get much help. stackoverflow.com/questions/27878047/noclassdefinitionerror-with-simple-bean-configuration If I place the spring-oxm jar in the spring-xd lib I get this error *************************************************************************************** java.lang.IllegalStateException: Cannot convert value of type [org.springframework.oxm.jaxb.Jaxb2Marshaller] to required type [org.springframework.oxm.Unmarshaller] for property 'unmarshaller': no matching editors or conversion strategy found ***************************************************************************************

    Spring JIRA | 2 years ago | Vicky Kak
    java.lang.NoClassDefFoundError: org/springframework/oxm/Unmarshaller
  3. 0

    Spring Boot app with Spring Data cannot find com.mysema.query.types EntityPath

    Stack Overflow | 2 years ago | Anh-Minh Nguyen
    java.lang.NoClassDefFoundError: com/mysema/query/types/EntityPath
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassNotFoundException: org.springframework.security.Authentication

    Stack Overflow | 2 years ago | Bamboomy
    java.lang.NoClassDefFoundError: org.springframework.security.Authentication
  6. 0

    Spring 4.2.4 WebSocket/Stomp and Tomcat faillure

    Stack Overflow | 1 year ago | Vangelis Morakis
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.socket.server.support.WebSocketHandlerMapping#0': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/websocket/WebSocketContainer

  1. tzrlk 1 times, last 4 weeks ago
  2. Casper 2 times, last 4 weeks ago
  3. SteVio1989 6 times, last 2 months ago
  4. tomthomas 6 times, last 3 months ago
  5. treefolk 6 times, last 3 months ago
9 more registered users
84 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

    org/springframework/oxm/Unmarshaller

    at java.lang.Class.getDeclaredMethods0()
  2. Java RT
    Class.getDeclaredMethods
    1. java.lang.Class.getDeclaredMethods0(Native Method)
    2. java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
    3. java.lang.Class.getDeclaredMethods(Class.java:1855)
    3 frames
  3. Spring Core
    ReflectionUtils.getDeclaredMethods
    1. org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:571)
    1 frame