Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi community,
I have several jobs that run perfectly on my machine but, once I got to export them and try to run from terminal, I get a Java error saying that classes must be contained in different files. I do understand the problem and would be able to solve it if it was plain java code but I have no clue how to solve this inside Talend. Sure there is a configuration on the build process that might need an adjustment.
In the screen capture you might see RunStat but I removed it from the job so I guess is a random component the one that is causing the problem.
I would really appreciate your help.
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The public type RunStat must be defined in its own file
at routines.system.RunStat.<init>(RunStat 3.java:25)
at pmi.extract_puntos_sf_1_2.extract_puntos_sf.<init>(extract_puntos_sf.java:150)
at pmi.extract_puntos_sf_1_2.extract_puntos_sf.main(extract_puntos_sf.java:2777)
Hello,
Could you please check your "Code" tab in your job when you get some compile errors to see if there will be your compile error highlighted in red line? And make sure that the jar specific to your job is installed in the Java library and that it displays in the Modules view of Talend Studio .
Here is a KB article about
Hope it helps.
Best regards
Sabrina