老师:
截图截不全,我就直接复制错误代信息了,我按照视频里面老师的步骤建立的工程,在run as--> maven install的时候,就显示下面的错误,应该是11parent项目找不到吧。
11parent 和 12manager是两个独立的项目工程,视频里面老师是怎么直接继承的呢?
麻烦老师解答。
老师的项目:

我的项目:

代码
Maven.zip
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.bjsxt:12manager:0.0.1-SNAPSHOT: Could not find artifact com.bjsxt:11parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ com.bjsxt:12manager:0.0.1-SNAPSHOT, E:\itbz\cloud\stage2\Maven\12manager\pom.xml, line 3, column 11
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.bjsxt:manager-controller:0.0.1-SNAPSHOT (E:\itbz\cloud\stage2\Maven\12manager\manager-controller\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.bjsxt:12manager:0.0.1-SNAPSHOT: Could not find artifact com.bjsxt:11parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ com.bjsxt:12manager:0.0.1-SNAPSHOT, E:\itbz\cloud\stage2\Maven\12manager\pom.xml, line 3, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException