1、已有回答如下:https://blog.csdn.net/qq_33142257/article/details/53202443 2、将项目下的target目录删除重建(自动),然后maven install,再次运行项目即可