我之前尝试了一种方法导入jar包的方式,但是运行demo出错,就参考博主这篇文章: https://blog.csdn.net/kdyyh/article/details/78483663 能调试通过了。