这个问题,在网上找了一下,搜出来的大都是同一篇内容,有一个网友说,只要去删除

..\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings路径下的org.eclipse.wst.validation.prefs文件即可。

但我在我的eclipse的工作空间下找不到这个文件,猜测可能是同事给我的这个eclipse已经删除过了。

但好像,在我这边并没有起作用。所以又去找了一下网友的建议,试了一下下边的这个方法,解决了这个问题。


第一步:找到..\workspace\.metadata\.plugins\org.eclipse.core.resources文件夹下的.projects文件夹,

把它剪切出来,这个时候如果你的eclipse是打开的,请关闭后,重启一下,待重新打开后,什么也不做,再次关闭eclipse。

在关闭过程中,可能会弹出一个错误框,不管他,继续关闭。

第二步:待完全关闭后,重新把第一步中剪切出来的.projects文件夹粘贴回去就好。

第三步:粘贴回去后,去重启eclipse,这个时候再去导入就不报错了。


GitHub 加速计划 / ma / maven
36
0
下载
Maven: Apache Maven是一个开源的项目管理和构建工具,主要用于Java项目。适合需要自动化项目构建和依赖管理的开发者。特点包括约定优于配置、易于使用和社区驱动。
最近提交(Master分支:8 天前 )
07c24c32 Bumps `xmlunitVersion` from 2.10.3 to 2.10.4. Updates `org.xmlunit:xmlunit-assertj` from 2.10.3 to 2.10.4 - [Release notes](https://github.com/xmlunit/xmlunit/releases) - [Changelog](https://github.com/xmlunit/xmlunit/blob/main/RELEASE_NOTES.md) - [Commits](https://github.com/xmlunit/xmlunit/compare/v2.10.3...v2.10.4) Updates `org.xmlunit:xmlunit-core` from 2.10.3 to 2.10.4 - [Release notes](https://github.com/xmlunit/xmlunit/releases) - [Changelog](https://github.com/xmlunit/xmlunit/blob/main/RELEASE_NOTES.md) - [Commits](https://github.com/xmlunit/xmlunit/compare/v2.10.3...v2.10.4) Updates `org.xmlunit:xmlunit-matchers` from 2.10.3 to 2.10.4 - [Release notes](https://github.com/xmlunit/xmlunit/releases) - [Changelog](https://github.com/xmlunit/xmlunit/blob/main/RELEASE_NOTES.md) - [Commits](https://github.com/xmlunit/xmlunit/compare/v2.10.3...v2.10.4) --- updated-dependencies: - dependency-name: org.xmlunit:xmlunit-assertj dependency-version: 2.10.4 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.xmlunit:xmlunit-core dependency-version: 2.10.4 dependency-type: direct:development update-type: version-update:semver-patch - dependency-name: org.xmlunit:xmlunit-matchers dependency-version: 2.10.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1 天前
d9824a82 Make package-private the `DefaultDependencyResolverResult` constructor having a `PathModularizationCache` argument, and add a public constructor without the cache argument for code in other packages that need to instantiate. The public constructor may be temporary, until we decide in the future where to store session-wide cache. 3 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐