eclipse中打开maven报错

今天打开eclipse出现的

105344_5JuN_2763509.png

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 (577).

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 (577).

105428_isb2_2763509.png

工程中的maven也是不能正常打开进行设置

运行的话也是种种问题

昨天解决的办法是重新更改一个工作空间,导入项目,再重新进行一些maven等其他环境配置,但是很耗时

 

导致的原因

1.可能你的eclipse未正常关闭

2.

 

网上找到的解决办法

在eclipse工作空间找到如下路径

F:\eclipse-workspace\.metadata\.plugins\org.eclipse.e4.workbench

105506_pxiY_2763509.png

 

你会看到这样一个文件

然后将此文件替换为正常工作空间的文件

替换完成后重启eclipse,这种方式进入eclipse工作界面需要重新定义show view视图

 

 

参考链接

http://www.fwqtg.net/%E3%80%90eclipse%E3%80%91eclipse%E9%9D%9E%E6%AD%A3%E5%B8%B8%E5%85%B3%E9%97%AD%EF%BC%8C%E9%87%8D%E6%96%B0%E6%89%93%E5%BC%80maven%E6%8A%A5%E9%94%99.html

 

转载于:https://my.oschina.net/anlve/blog/1592487

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值