JDK版本过低,导致原因你可以看看我的一篇文章:https://blog.csdn.net/CSDN_linyanchen/article/details/126555304?spm=1001.2014.3001.5502