search

Home  >  Q&A  >  body text

Why is maven compilation so slow?


Always stuck at 99%. What is the problem?

黄舟黄舟2747 days ago923

reply all(4)I'll reply

  • 扔个三星炸死你

    扔个三星炸死你2017-06-12 09:24:43

    Turn it off and use the maven command line to operate maven. Do not use it directly in the IDE

    reply
    0
  • 为情所困

    为情所困2017-06-12 09:24:43

    It’s a common problem in eclipse, but it’s not found in idea! You can also download the jar package to the local warehouse, and then specify your local warehouse

    reply
    0
  • 某草草

    某草草2017-06-12 09:24:43

    Modify Maven's central warehouse and let Maven download dependency packages from the domestic Alibaba warehouse, which will make it much faster.
    Find settings.xml and add the following code to the mirrors tag

    <mirror>
          <id>alimaven</id>
          <name>aliyun maven</name>
          <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
          <mirrorOf>central</mirrorOf>       
        </mirror>

    reply
    0
  • 大家讲道理

    大家讲道理2017-06-12 09:24:43

    This situation is usually because some files cannot be found, the download times out, etc.

    reply
    0
  • Cancelreply