搭建环境时使用的是这位大佬的博客教程https://blog.youkuaiyun.com/qjyong/article/details/9098213
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Multiple problems occurred while downloading.
Artifact not found: http://download.eclipse.org/technology/m2e/releases/1.10/1.10.0.20181127-2120/plugins/org.eclipse.m2e.profiles.ui_1.10.0.20181127-2120.jar.pack.gz.
http://download.eclipse.org/technology/m2e/releases/1.10/1.10.0.20181127-2120/plugins/org.eclipse.m2e.profiles.ui_1.10.0.20181127-2120.jar.pack.gz
Unable to connect to repository http://download.eclipse.org/technology/m2e/releases/1.10/1.10.0.20181127-2120/plugins/org.eclipse.m2e.profiles.ui_1.10.0.20181127-2120.jar
Connection timed out: connect
Artifact not found: http://download.eclipse.org/technology/m2e/releases/1.10/1.10.0.20181127-2120/features/org.eclipse.m2e.feature_1.10.0.20181127-2120.jar.
http://download.eclipse.org/technology/m2e/releases/1.10/1.10.0.20181127-2120/features/org.eclipse.m2e.feature_1.10.0.20181127-2120.jar
上为遇到的错误的代码和图片
解决办法为勾掉Contact all update sites during install to find required software。
随后在配置的时候又出现了 Target is not a supported Maven Home这个错误,如图↓
原因是我下载maven包错误,如图↓
PS:两个内的settings.xml 是一样的,如果之前修改过,只需要拿之前修改的那个用就行了
注:https://blog.youkuaiyun.com/qjyong/article/details/9098213 博主在修改setting.xml的时候在m2文件夹前加了个点,像这样d:/.m2.然经过测试Windows下文件夹名字前无法加点,但我在c盘却见到了这种命名方式的文件夹,暂时没弄明白,有大佬知道望指点一下。