recherche

Maison  >  Questions et réponses  >  le corps du texte

启动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).

求解!

阿神阿神2798 Il y a quelques jours1613

répondre à tous(4)je répondrai

  • 迷茫

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

    Généralement, lorsque vous rencontrez des problèmes avec Maven, vous devez faire deux choses
    1. mvn nettoyer
    2. mvn installer

    Voyez si vous pouvez le faire

    répondre
    0
  • 天蓬老师

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

    J'ai aussi rencontré un tel problème, je me demande si l'auteur l'a finalement résolu

    répondre
    0
  • 怪我咯

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

    Solution :

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

    Raison :

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

    répondre
    0
  • PHPz

    PHPz2017-04-22 09:01:24

    Entrez dans le répertoire d'installation d'eclise et utilisez la commande eclise -clean pour redémarrer le projet ok

    répondre
    0
  • Annulerrépondre