Details
Description
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 [[email protected] 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
***************************************************************************************
Attachments
Issue Links
- relates to
-
XD-2927 Can't use Apache Velocity in custom modules
-
- To Do
-