Hi, im newbie in this kind of world. I found tutorial to build date loop by using talend from this link
http://bekwam.blogspot.com/2011/02/talend-open-studio-date-dimension-job.html.
i've followed the steps but when i run the job, i hit an error as below:
Exception in thread "main" java.lang.Error: java.lang.Error: Unresolved compilation problems:
monthName cannot be resolved or is not a field
monthAbbrv cannot be resolved or is not a field
dayName cannot be resolved or is not a field
dayAbbrv cannot be resolved or is not a field
dayOfYear cannot be resolved or is not a field
at talenddemosjava.dateloop_0_1.dateloop.tLoop_1Process(dateloop.java:797)
at talenddemosjava.dateloop_0_1.dateloop.runJobInTOS(dateloop.java:1542)
at talenddemosjava.dateloop_0_1.dateloop.main(dateloop.java:1410)
could someone help me plz?
thanks in advance
Hi Shong,
Thank you for your assistance
It such a great pleasure for me...and actually that step i missed because i couldnt find where i can set the component. Now, i double checked it and fixed it, then the output successfully generated.
Thank you so much
Warmest regards,
Haikal
Hi
Here it is a compilation error. Talend Studio is a Java code generator, if you open the
Code tab, you will see which lines have error.
In your case, the variables such as monthName are not declared yet, they are the output fields of tJavaRow, I think you have forgot to define the schema of tJavaRow component.
Best regards
Shong
Hi Shong,
Thank you for your assistance
It such a great pleasure for me...and actually that step i missed because i couldnt find where i can set the component. Now, i double checked it and fixed it, then the output successfully generated.
Thank you so much
Warmest regards,
Haikal