原因就是端口被占用 1.查看被占用的端口号: netstat -ano | findstr 8080 2.结束进程 taskkill /pid 这里填pid号 /f *pid是后面那个数字,不是端口号8080