Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
The goal here is to kickoff Talend job from the Routes. I am doing one POC on that and getting the below error.
I checked, i am using the same JRE as that in Studio.
Attached are the screenshot.
Can anyone please help?
Error:
Execution failed : Job compile errors
At least job "example_route_Copy" has a compile errors, please fix and export again.
Error Line: 67
Detail Message: org.springframework cannot be resolved to a type
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.
Ok. If you are doing a PoC, could you please try below scenario?
It is having the detailed steps with screenshots.
https://help.talend.com/reader/wPJh3yAxz0baR8imIwmlYA/X1kCQaKtALDIocZ0p6QjpA
Warm Regards,
Nikhil Thampi
@harsh_kothari,can you expand the sub job and show,your job design?
You are referring to a job from a route and it seems the underlying job is having compile error.
Could you please open your job and click to code tab and it will show the position of error. If you toggle back to Designer mode, it will show the corresponding error component.
Once you share the screen shots of the underlying job after above steps, we will be able to analyse further where is the exact issue root cause.
Warm Regards,
Nikhil Thampi
Given below.
Error code in :
protected CamelContext createContext() {
final org.apache.camel.impl.DefaultCamelContext camelContext = new org.apache.camel.spring.SpringCamelContext(
new org.springframework.context.support.ClassPathXmlApplicationContext(
"META-INF/spring/example_route_copy.xml"));
Hi,
Could you please verify whether the data type in your schema for route is the right one?
Also can you double check the JSON message you are trying to parse?
Warm Regards,
Nikhil Thampi
My intention is to kick off job from Route, so there is no JASON message or anything that i am passing right now. Do i have to pass something from the cTalendJob Component?
Actually I am working on two POC right now:
1) To retrieve message from JMS server to Talend.
2) Once received, it should kicked off a particular Talend Job.
Hence, i am working on #2 right now to kick off Talend job from the Routes.
Any inputs will be greatly appreciated!
Ok. If you are doing a PoC, could you please try below scenario?
It is having the detailed steps with screenshots.
https://help.talend.com/reader/wPJh3yAxz0baR8imIwmlYA/X1kCQaKtALDIocZ0p6QjpA
Warm Regards,
Nikhil Thampi