博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
导入maven项目出现 Unsupported IClasspathEntry kind=4
阅读量:7100 次
发布时间:2019-06-28

本文共 920 字,大约阅读时间需要 3 分钟。

hot3.png

Unsupported IClasspathEntry kind=4

这个异常会导致项目无法使用spring ide启动

英文解释如下:

Please see

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:

  1. 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:

  2. 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,如果没有到站点升级 :

  2、去掉项目的maven特性,右键菜单就能去除,然后执行 mvn eclipse:clean,并且重新激活 maven 特性

转载于:https://my.oschina.net/91jason/blog/340912

你可能感兴趣的文章
redis分布式锁的具体应用
查看>>
四中居中方法
查看>>
23. Merge K Sorted Lists (Java, 归并排序的思路)
查看>>
转载:JAR包介绍大全用途作用详解JAVA
查看>>
java 操作符(翻译自Java Tutorials)
查看>>
hive实例讲解实现in和not in子句
查看>>
java 线程池
查看>>
element-ui的el-tabel组件怎么使用type=“expand”实现表格嵌套并且在子表格没有数据的时候隐藏展开按钮...
查看>>
SlickUpload使用(一)
查看>>
oracle中向timeStamp类型字段插入当前时间
查看>>
剑指offer第八天
查看>>
HTMLcanvas矩形阵雨 - 学习笔记
查看>>
如何用代码分别获得个十百千位上的数值
查看>>
(六)文件操作
查看>>
2015.01.15 学前端 搞论文提交
查看>>
摇滚吧HTML5!有声前端交互!(一)
查看>>
CentOS7 jdk配置
查看>>
ExtJS获取父子、兄弟容器元素方法
查看>>
docker探索-docker容器基本操作(五)
查看>>
oracle学习总结
查看>>