Unsupported IClasspathEntry kind=4

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

来自:http://blog.csdn.net/kongqz/article/details/7770765

英文解释如下:

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:

  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: https://repository.sonatype.org/content/repositories/forge-sites/m2e/1.1.0/N/LATEST/

  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,如果没有到站点升级 : https://repository.sonatype.org/content/repositories/forge-sites/m2e/1.1.0/N/LATEST/

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

导入maven项目出现 Unsupported IClasspathEntry kind=4相关推荐

  1. Eclipse导入Maven项目出现错误:Unsupported IClasspathEntry kind=4

    使用Eclipse导入Maven项目失败,提示: An internal error occurred during: "Importing Maven projects". Un ...

  2. Eclipse导入Maven项目解决Build Path不能配置问题

    Eclipse导入Maven项目解决Build Path不能配置问题 参考文章: (1)Eclipse导入Maven项目解决Build Path不能配置问题 (2)https://www.cnblog ...

  3. Eclipse如何导入maven项目,以及配置maven

    Eclipse如何导入maven项目,以及配置maven 一.准备工作 1. eclipse,安装了eclipse 2. 一个需要导入的maven项目 3. 下载好了的压缩包apache-maven- ...

  4. Eclipse中导入Maven项目后没有run on server

    场景 在Eclipse中导入Maven项目后,想要运行时,却没有run on server 解决 右击项目--properties--project facets--勾选Dynamic Web Mod ...

  5. 【报错笔记】Eclipse导入Maven项目时pom.xml报错,项目上有红感叹号。

    Eclipse导入Maven项目时pom.xml报错,项目上有红感叹号. 错误原因: pom.xml中依赖的jar包在本地仓库中不存在,但是在maven/conf/settings.xml中定义了阿里 ...

  6. java的svn插件maver_eclipse中 svn插件导入maven项目

    地址:http://jingyan.baidu.com/article/a948d6510e1af00a2dcd2ec2.html 之后选择svn-->从svn检出项目,然后输入svn地址,按照 ...

  7. Idea导入maven项目不自动识别pom.xml

    *Idea导入maven项目不自动识别pom.xml *当在idea中导入maven项目时,不能自动识别pom文件 解决方法: 1.右键pom.xml文件,选择" add as maven ...

  8. eclipse怎么导入maven项目 eclipse导入maven项目详细教程

    转自:http://www.pc6.com/infoview/Article_114542.html Eclipse怎么导入maven项目一直是困扰着大量程序猿和刚上手小白们的问题,使用eclipse ...

  9. IDEA导入Maven项目,pom.xml文件中 有inspects a maven model for resolution problems报错 !!!!!!!!!!有用

    IDEA导入Maven项目,pom.xml文件中 有inspects a maven model for resolution problems报错 2018年08月06日 22:13:09 东方不能 ...

  10. 导入maven项目报错无法运行

    1.问题 导入maven项目报错无法运行 2.原因 代码有问题不是最新代码 3.解决 更新项目git pull再次导入

最新文章

  1. Flutter 导包 以及体验
  2. seaborn 安装成功 + ImportError: DLL load failed: 找不到指定的模块 问题解决
  3. [译]理解HTTP/304响应
  4. python如何连续打印_Python实现批量打印功能
  5. qt程序卡死 linux,QtCreator中打开.ui文件时卡死崩溃的解决方法
  6. cassandra可视化_容器化Spring Data Cassandra应用程序
  7. C/C++中从文件末尾反向读取N行文件记录(末尾读取文件)
  8. python include_Python如何嵌入C/C++进行开发
  9. 低通滤波器 java_低通滤波器 - java开发指南博客 【转载】 - ITeye博客
  10. cdr 表格自动填充文字_操作基础知识Word文字编辑
  11. TeaVM编译耗时太长,为节省时间,跳过test
  12. 微信群控二次开发SDK
  13. 利用 cv2 给图片添加文字
  14. C语言:从键盘输入一个整数,分别输出它的个位数、十位数、百位数.....
  15. 命令行如何远程连接MySQL数据库
  16. 天津计算机专业专科大学排名,天津的计算机专业大学排名
  17. 7-29 王小二分饼
  18. POJ 1411 Calling Extraterrestrial Intelligence Again G++ 易超时
  19. 给硬件工程师的入门课-做硬件还有前途吗?聊聊一些机遇
  20. 2014年秋浙大远程教育计算机离线作业.计算机基础知识题2,2014春浙大远程计算机应用基础第4次作业4.Excel知识题.doc...

热门文章

  1. 在Oracle中查询表的大小、表的占用情况和表空间的大小
  2. DOT HERE AGAIN
  3. 2、Zookeeper集群搭建、命令行Client操作
  4. 软件工程 speedsnail 冲刺8
  5. python异常捕获try except
  6. Ubuntu 11.10 下安装 JDK_6_27
  7. [ZJOI2012]小蓝的好友
  8. shutil模块拷贝与解压缩模块----day19
  9. 从零开始学 Web 之 Ajax(五)同步异步请求,数据格式
  10. [转]Magento2开发教程 - 如何向数据库添加新表