如下图,导入Maven项目可选项只有一个:


下面是解决方法:


1、进入目录:myeclipse workspace根目录\.metadata\.plugins\org.eclipse.core.runtime\.settings

Ps:不知道工作区目录,Myeclipse中点击File->Switch workspace->Other,即可看到当前工作区目录。


2、编辑org.eclipse.ui.workbench.prefs文件


查找内容:eclipse.preferences.version=1

在其后另起一行,加入以下内容:

UIActivities.com.genuitec.eclipse.maven.m2eclipse=true


重启Myeclipse,搞定!




GitHub 加速计划 / ma / maven
36
3
下载
Maven: Apache Maven是一个开源的项目管理和构建工具,主要用于Java项目。适合需要自动化项目构建和依赖管理的开发者。特点包括约定优于配置、易于使用和社区驱动。
最近提交(Master分支:3 个月前 )
6f0294df * Maven Parent 46 w/ some slight updates * Do run RAT on submodules * Fixes I missed parent rat in plugins Just alter config, nothing more 1 天前
1db41bbe Bumps [org.junit:junit-bom](https://github.com/junit-team/junit-framework) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](https://github.com/junit-team/junit-framework/compare/r6.0.1...r6.0.2) --- updated-dependencies: - dependency-name: org.junit:junit-bom dependency-version: 6.0.2 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> 3 天前
Logo

AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。

更多推荐