使用Talend 6.1.2的RDBMS到MongoDB的抛出错误

时间:2018-08-16 21:49:16

标签: mongodb talend

我正在尝试将数据从ORacle转换为MongoDB JSON格式。但是,当尝试进行转换时,写入JSON字段时出现以下错误。谁能帮忙。我已经附上了流程和映射

enter image description here

enter image description here

错误消息

tarting job ora2mongo at 03:14 17/08/2018.

[statistics] connecting to socket on port 4071
[statistics] connected
Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
    Incorrect number of arguments for type Queue<E>; it cannot be parameterized with arguments <>
    Syntax error on token "null", delete this token
    Syntax error on token "null", delete this token
    Syntax error on token "null", delete this token
    queue cannot be resolved or is not a field
    queue cannot be resolved to a variable
    queue cannot be resolved or is not a field
    queue cannot be resolved to a variable
    Syntax error, insert "AssignmentOperator Expression" to complete Assignment
    Syntax error, insert ";" to complete Statement
    The left-hand side of an assignment must be a variable
    Syntax error on token "null", invalid ClassType
    Syntax error, insert "new ClassType ( )" to complete Expression
    Syntax error, insert "AssignmentOperator Expression" to complete Assignment
    Syntax error, insert ";" to complete Statement
    Syntax error on token "null", invalid ClassType
    Syntax error, insert "new ClassType ( )" to complete Expression

    at rdbms_to_mongo.ora2mongo_0_1.ora2mongo.tOracleInput_1Process(ora2mongo.java:3156)
[statistics] disconnected
    at rdbms_to_mongo.ora2mongo_0_1.ora2mongo.tOracleConnection_1Process(ora2mongo.java:550)
    at rdbms_to_mongo.ora2mongo_0_1.ora2mongo.runJobInTOS(ora2mongo.java:5272)
    at rdbms_to_mongo.ora2mongo_0_1.ora2mongo.main(ora2mongo.java:5129)
Job ora2mongo ended at 03:14 17/08/2018. [exit code=0]

0 个答案:

没有答案