(已解决)Public Key Retrieval is not allowed

扶醉 ·

在运行程序时,报出一溜错,其中最后一条是:Public Key Retrieval is not allowed
解决办法:
在连接url上加 allowPublicKeyRetrieval=true
之后那一溜错也不复存在了。

参考:https://blog.csdn.net/Yuriey/article/details/80423504