解决办法: 进入pom.xml文件中,将 <packaging>pom</packaging> 删掉 参考网站: https://www.gxlcms.com/sql_question-394402.html