java.lang.ClassNotFoundException: Class com.ibm.db2.jcc.DB2Driver not found in Worklight platform or project

前端 未结 2 1906
隐瞒了意图╮
隐瞒了意图╮ 2021-01-03 00:00

I try to test an sql adapter that connects to db2 but I get the following result:

java.lang.ClassNotFoundException: Class com.ibm.db2.jcc.DB2Driver no

相关标签:
2条回答
  • 2021-01-03 00:14

    Add the two jars:

    db2jcc.jar
    db2jcc_license_cu.jar

    Add them to the libraries jar folder.

    0 讨论(0)
  • 2021-01-03 00:22

    Do you mean that your Worklight database is DB2-based? If yes,

    • make sure to also edit worklight.properties with the correct DB2 setup

    Also make sure that:

    • the DB2 connector driver exists in the server\lib folder
    0 讨论(0)
提交回复
热议问题