cari

Rumah  >  Soal Jawab  >  teks badan

启动eclipse时maven插件报错

启动eclipse时maven插件报错,并且不能编译了。

错误信息:
Errors occurred during the build.
Error instantiating builder 'org.eclipse.m2e.core.maven2Builder'.
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (525).
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (525).
Error instantiating builder 'org.eclipse.m2e.core.maven2Builder'.
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (525).
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (525).
Error instantiating builder 'org.eclipse.m2e.core.maven2Builder'.
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (525).
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (525).
Error instantiating builder 'org.eclipse.m2e.core.maven2Builder'.
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (525).
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (525).
Error instantiating builder 'org.eclipse.m2e.core.maven2Builder'.
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (525).
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (525).
Error instantiating builder 'org.eclipse.m2e.core.maven2Builder'.
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (525).
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (525).

求解!

阿神阿神2833 hari yang lalu1657

membalas semua(4)saya akan balas

  • 迷茫

    迷茫2017-04-22 09:01:24

    Secara amnya apabila anda menghadapi masalah hebat, anda perlu melakukan dua perkara
    1. mvn bersih
    2. mvn pasang

    Lihat jika anda boleh melakukannya

    balas
    0
  • 天蓬老师

    天蓬老师2017-04-22 09:01:24

    Saya juga mengalami masalah seperti itu, saya tertanya-tanya adakah penulis akhirnya menyelesaikannya

    balas
    0
  • 怪我咯

    怪我咯2017-04-22 09:01:24

    Penyelesaian:

    删除该工作空间所有maven projects,重启eclipse。再重新导入maven projects。

    Sebab:

    可能由于意外退出eclipse,导致无法启动maven插件。
    

    balas
    0
  • PHPz

    PHPz2017-04-22 09:01:24

    Masukkan direktori pemasangan eclise dan gunakan perintah eclise -clean untuk memulakan semula projek ok

    balas
    0
  • Batalbalas