我正在使用tFTPGet开发一个talend作业来获取文件。 当我尝试运行该作业以测试代码时,会报告错误。我如何确定解决此问题的确切错误?
答案 0 :(得分:0)
You need to use the error message of the TFTPGet component in a user code component:
The code of TJava will be executed only if the TFTPGet failed, you can use this line of code:
System.out.println(((String)globalMap.get("tFTPGet_1_ERROR_MESSAGE")));
Then you will see the error message in your console.