Updating Maven Project". Unsupported IClasspathEntry kind=4错误解

简介:

原文:http://blog.sina.com.cn/s/blog_67f81bad0101dd8m.html

Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=374332#c14

The problem is caused by the fact that the STS (the SpringIDE/Eclipse) uses the m2e(clipse) plugin but that eclipse:eclipsehas 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 the following:

  1. Make sure that the version of the m2e(clipse) plugin that you'rerunning is at least 1.1.0, and preferably, the latest available.The update site is the following url:http://download.eclipse.org/technology/m2e/releases/ (1.3.1,at the moment).

  2. Disable the maven nature for the project (via the right-clickmenu)

  3. run mvneclipse:clean (while your projectis open inSTS/eclipse)

  4. re-enable the maven nature.
    (Most of the time, this can be done by right-clicking on theproject in question in the package explorer pane, and then choosing'Configure'-> 'Convert to Maven Project')


相关文章
|
缓存 Java Maven
IDEA配置maven和踩坑记录(Unable to import maven project)
IDEA配置maven和踩坑记录(Unable to import maven project)
1885 0
|
Java Maven 开发工具
maven导入项目出现Unable to import maven project: See logs for details
maven导入项目出现Unable to import maven project: See logs for details
278 0
maven导入项目出现Unable to import maven project: See logs for details
|
Java Maven Android开发
【Azure Developer】VS Code打包Java maven Project 遇见 BUILD FAILURE
Unknown lifecycle phase "lean". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>
255 5
|
Java Maven
IDEA 报 Unable to import maven project: See logs for details
IDEA 报 Unable to import maven project: See logs for details
147 0
|
IDE Java Maven
Unable to import Maven project,Maven依赖全爆红的问题解决
Unable to import Maven project,Maven依赖全爆红的问题解决
|
Java Maven
maven install时报错The packaging for this project did not assign a file to the build artifact
maven install时报错The packaging for this project did not assign a file to the build artifact
8169 0
|
Java Maven
IntelliJ IDEA 新建/创建Maven Web项目Project
IntelliJ IDEA 新建/创建Maven Web项目Project
131 0
|
Java Maven Android开发
Importing maven project一直卡在%9不动。
Importing maven project一直卡在%9不动。
520 0
|
Java Maven
解决 idea中 Unable to reload Maven project
解决 idea中 Unable to reload Maven project
761 0
|
IDE Java Maven
解决 Maven 执行Update project后 jdk版本变回1.5的问题
解决 Maven 执行Update project后 jdk版本变回1.5的问题
462 0

热门文章

最新文章

推荐镜像

更多
下一篇
oss云网关配置