idea报错一直显示正在加载Maven依赖

idea中的Maven和本地的settings.xml都配置了,也试了网上的各种方法,删除Maven的repository等等,花了好几个小时最后打开idea的运行窗口,查看idea运行窗口才发现报错是settings.xml的161行有问题(图只是告诉在哪里看运行窗口报错)

这里踩了个坑,自己的maven中的settings.xml中添加镜像的代码中混入了其他符号,复制粘贴别人的,导致idea中的Maven一直报错正在加载,附上正确的代码

<mirrors>
<!--  mirror
     | Specifies a repository mirror site to use instead of a given repository. The repository that
     | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
     | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
     |
    <mirror>
      <id>mirrorId</id>
      <mirrorOf>repositoryId</mirrorOf>
      <name>Human Readable Name for this Mirror.</name>
      <url>http://my.repository.com/repo/path</url>
    </mirror>
      -->
 
&