Eclipse: Resolve Workspace projects
When Import Maven project:
"Java Build Path" > "Libraries" 中的 component 显示的是引用 jar, 而不是引用本 workspace. 此时就要勾选 "Resolve Workspace projects".
Resolve Workspace projects:
Dependencies opened as workspace projects will be resolved without having to install them to your local Maven repository first. This way, any changes made to one of these dependencies will have an immediate effect on other projects consuming it (compilation, refactoring, etc.).
When Resolve Workspace projects is disabled, dependencies existing in the workspace must be installed to your local Maven repository after any change (by running mvn install), in order to see effects in projects consuming them.
Window->Show view->Other...->Mave Repositories
Right-click "Workspace projects", and select "Rebuild index", and then "clean all projects", and Maven "update project" again. then problem solved. actually not sure whether solved by this.
阅读更多- Eclipse使用Maven创建项目时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quick
- eclipse 修改workspace路径
- eclipse创建maven web项目报错:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-weba
- 解决eclipse Building workspace(Sleeping)
- 如何让Eclipse管理多个Workspace
- 为Eclipse的Workspace设置字符集
- D:\eclipse\WorkspaceOne\ssm-demo2\target\m2e-wtp\web-resources\META-INF\MANIFEST.MF (系统找不到指定的路径。)
- workspace\.metadata\.plugins\org.eclipse.wst.server.core
- 如何修改Eclipse的 workspace目录
- Eclipse 导入项目时 :unable to resolve target “android-xx”
- 设置Eclipse的workspace路径 .
- <转载>设置Eclipse、MyEclipse默认workspace路径
- The working copy needs to be upgraded svn: The working copy at 'D:\eclipse workspace\kjzfcopy' is
- eclipse的workspace中不显示svn状态图标的解决办法
- eclipse:Workspace in use or cannot be created
- Eclipse启动时显示选择workspace的对话框
- Eclipse 的 Workspace 下边有一个 .metadata 的目录,是做什么用的?
- eclipse启运时显示:Workspace in use or cannot be created, choose a different one.
- 晚上打开eclipse时碰到这个问题 :Workspace in use or cannot be created, choose a different one.
- 怎么知道eclipse的workspace的路径