英文解释如下:
Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=374332#c14
The problem is caused by the fact that the STS (the Spring IDE/Eclipse) uses the m2e(clipse) plugin but that eclipse:eclipse has been probably been run on the project. When m2e encounters a "var" .classpath entry, it throws this error.
In order to fix this problem, you need to do 2 things:
-
Make sure that the version of the m2e(clipse) plugin that you're running is at least 1.1.0. The update site is here:https://repository.sonatype.org/content/repositories/forge-sites/m2e/1.1.0/N/LATEST/
-
Disable the maven nature for the project (via the right-click menu), run mvn eclipse:clean (while your project is open in STS/eclipse), and then re-enable the maven nature.
中文解释就是
问题是因为使用spring ide使用了m2eclipse 插件,但是这个插件的使用前提是不允许命令 mvn eclipse:eclipse在项目上执行过,如果执行过,就会抛出这个异常。
现阶段修复这个问题需要做两件事
1、保证m2e插件的版本高于 1.1.0,如果没有到站点升级 : https://repository.sonatype.org/content/repositories/forge-sites/m2e/1.1.0/N/LATEST/
2、去掉项目的maven特性,右键菜单就能去除,然后执行 mvn eclipse:clean,并且重新激活 maven 特性
相关推荐
idea离线导入maven项目
eclipse导入maven项目报错解决办法,找了好多网上的都零零碎碎的,希望以后遇到会有所帮助.
maven项目eclipse导入的详细步骤。
idea导入maven项目
今日,将原先在eclipse上开发的Maven项目导入idea中,启动报错,项目在eclipse中启动百分百是没有问题,误以为是IDEA打开项目的动作错误,在网上查了很多资料,各种操作五花八门,尝试了遍,结果还是不行。...
spring springmvc mybatis三大框架整合,用maven进行管理jar包,项目导入即可运行
使用idea导入maven项目.doc
批量导入maven本地jar包
主要介绍了idea2019导入maven项目中的某些问题,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下
Maven是基于项目对象模型,可以通过一小段描述信息来管理项目的构建,报告和文档的软件项目管理工具。如今用到Maven的地方很多,而在用Eclipse开发项目时经常导入Maven项目时出现此类错误,在这里记录下来解决办法。
IntelliJ IDEA 是当前最...IntelliJ IDEA 支持 Maven 的全部功能,通过它我们可以很轻松地将 Maven 项目导入到 IDEA 中。 本节我们以 IntelliJ IDEA 2020.3.3 为例,详细介绍如何在 IntelliJ IDEA 中导入 Maven 项目。
使用IDEA编程软件,在创建Maven项目导入依赖包时,出现了红色波浪线的问题,解决思路:归根结底是maven包路径引用不到导致的。
maven项目Excel导入导出demo,详看博客 Excel导入导出笔记内容描述
主要介绍了Eclipse如何导入Maven项目详解(新手初学),小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧
myeclipse下部署maven项目的相关操作文档
不习惯于maven项目开发,想使用eclipse的普通web项目。想借鉴别人的maven项目,但是自己使用的却不熟悉maven的原理等等,但是需要懂一点maven的目录架构。
Maven 构建 项目 文档 java MyEclipse导入Maven项目及注意的事项
Eclipse新建和部署maven项目,每一步都有详细的截图
使用Maven整合Kafka 包括生产者,消费者 Kafka各种配置 //1.设置参数 Properties props = new Properties(); props.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, "81.68.232.188:9092,81.68.232.188:9093,81...
idea导入项目