Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

org.springframework cannot be resolved to a type

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.

 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

@harsh_kothari

 

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

View solution in original post

6 Replies
manodwhb
Champion II
Champion II

@harsh_kothari,can you expand the sub job and show,your job design?

Anonymous
Not applicable
Author

@harsh_kothari

 

    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

Anonymous
Not applicable
Author

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"));

0683p000009M14A.png

Anonymous
Not applicable
Author

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

Anonymous
Not applicable
Author

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!

Anonymous
Not applicable
Author

@harsh_kothari

 

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