如标题所述。问题的原因可能是db2驱动引起。原文内容如下:
In my case, I got the same error in a similar situation because I had the "wrong" driver jar (db2cc4.jar) in the classpath ahead of the "correct" one (db2cc.jar). I'm not quite sure what the difference is between the 2 jars, but when I switched the order, the issue went away.
ibm论坛如下说: