参考这个看能解决问题不:https://blog.csdn.net/xiongyouqiang/article/details/78392687如有帮助,请采纳!
环境变量 path 配置了吗
是不是jdk版本的问题呢