今天开启web项目的时候直接报 Public Key Retrieval is not allowed,看意思是跟公钥有关,后网上查看在sql连接的url上面跟后缀allowPublicKeyRetrieval=true即可。