【问题标题】:How to read database and convert result to HL7 file in Mirth Connect如何在 Mirth Connect 中读取数据库并将结果转换为 HL7 文件
【发布时间】:2021-09-16 10:44:39
【问题描述】:

我需要帮助来阅读 MySQL 数据库并使用 Mirth Connect 将其结果转换为 HL7 文件。

从现在开始,我添加了简单的数据库阅读器作为源(下图)。

摘要选项卡中的数据类型设置如下:

然后我将 Destination 添加为 File writer,并添加了文件夹和文件名的路径。

当我尝试部署此频道时出现错误:

[2021-09-16 12:38:20,001]  ERROR  (org.quartz.core.JobRunShell:222): Job d7444f3c-249a-4e4f-b3b2-1862ac874cbc.PollConnectord7444f3c-249a-4e4f-b3b2-1862ac874cbc threw an unhandled Exception: 
java.lang.IllegalAccessError: class com.mirth.connect.connectors.jdbc.DatabaseReceiverQuery (in unnamed module @0x2ca26d77) cannot access class com.sun.rowset.CachedRowSetImpl (in module java.sql.rowset) because module java.sql.rowset does not export com.sun.rowset to unnamed module @0x2ca26d77
    at com.mirth.connect.connectors.jdbc.DatabaseReceiverQuery.poll(DatabaseReceiverQuery.java:195)
    at com.mirth.connect.connectors.jdbc.DatabaseReceiver.poll(DatabaseReceiver.java:134)
    at com.mirth.connect.donkey.server.channel.PollConnectorJob.execute(PollConnectorJob.java:49)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)

【问题讨论】:

    标签: java mysql mirth


    【解决方案1】:

    我做到了:)

    我的解决方案很简单。将 Java 版本从 16 降级到 15,它将完美运行。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-07-15
    • 1970-01-01
    • 1970-01-01
    • 2012-08-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多