您好,麻烦帮忙看下,执行mvn clean install时报错。谢谢。

pom文件如下


你的maven配置去中央仓库拉取jar包了,没有去私库拉,检查下你的maven配置吧,参考这个帖子https://sns.bladex.cn/q-762.html
您好,按照上面的显示还是报错
D:\project\bladex\BladeX>mvn clean complie
[INFO] Scanning for projects...
Downloading from nexus: http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom
Downloading from nexus: http://repo1.maven.org/maven2/org/springblade/platform/blade-bom/2.5.0.RELEASE/blade-bom-2.5.0.RELEASE.pom
Downloading from nexus: http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.13.RELEASE/spring-boot-dependencies-2.1.13.RELEASE.pom
Downloading from nexus: http://repo1.maven.org/maven2/org/springframework/cloud/spring-cloud-dependencies/Greenwich.SR5/spring-cloud-dependencies-Greenwich.SR5.po
m
Downloading from nexus: http://repo1.maven.org/maven2/io/spring/platform/platform-bom/Cairo-SR8/platform-bom-Cairo-SR8.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'version' contains an expression but should be a constant. @ line 16, column 14
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser
vice\pom.xml, line 16, column 14
[FATAL] Non-resolvable parent POM for org.springblade:blade-desk:${bladex.project.version}: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RE
LEASE from/to nexus (http://repo1.maven.org/maven2): Failed to transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-servi
ce-2.5.0.RELEASE.pom with status code 501 and 'parent.relativePath' points at wrong local POM @ line 6, column 13
[WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser
vice\pom.xml, line 16, column 14
[FATAL] Non-resolvable parent POM for org.springblade:blade-system:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELEASE
from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or update
s are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Failed to
transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.relative
Path' points at wrong local POM @ line 5, column 13
[WARNING] 'version' contains an expression but should be a constant. @ line 15, column 14
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser
vice\pom.xml, line 16, column 14
[FATAL] Non-resolvable parent POM for org.springblade:blade-user:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELEASE fr
om http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates
are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Failed to t
ransfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.relativePa
th' points at wrong local POM @ line 5, column 13
[WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser
vice\pom.xml, line 16, column 14
[FATAL] Non-resolvable parent POM for org.springblade:blade-course:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELEASE
from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or update
s are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Failed to
transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.relative
Path' points at wrong local POM @ line 5, column 13
[WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser
vice\pom.xml, line 16, column 14
[FATAL] Non-resolvable parent POM for org.springblade:blade-school:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELEASE
from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or update
s are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Failed to
transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.relative
Path' points at wrong local POM @ line 5, column 13
[WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser
vice\pom.xml, line 16, column 14
[FATAL] Non-resolvable parent POM for org.springblade:blade-client:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELEASE
from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or update
s are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Failed to
transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.relative
Path' points at wrong local POM @ line 5, column 13
[WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser
vice\pom.xml, line 16, column 14
[FATAL] Non-resolvable parent POM for org.springblade:blade-market:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELEASE
from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or update
s are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Failed to
transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.relative
Path' points at wrong local POM @ line 5, column 13
[WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser
vice\pom.xml, line 16, column 14
[FATAL] Non-resolvable parent POM for org.springblade:blade-setting:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELEASE
from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updat
es are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Failed t
o transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.relativ
ePath' points at wrong local POM @ line 5, column 13
[WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser
vice\pom.xml, line 16, column 14
[FATAL] Non-resolvable parent POM for org.springblade:blade-order:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELEASE f
rom http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates
are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Failed to
transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.relativeP
ath' points at wrong local POM @ line 5, column 13
[WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser
vice\pom.xml, line 16, column 14
[FATAL] Non-resolvable parent POM for org.springblade:blade-wechat:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELEASE
from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or update
s are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Failed to
transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.relative
Path' points at wrong local POM @ line 5, column 13
[ERROR] Non-resolvable import POM: Could not transfer artifact org.springblade.platform:blade-bom:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2):
Failed to transfer file http://repo1.maven.org/maven2/org/springblade/platform/blade-bom/2.5.0.RELEASE/blade-bom-2.5.0.RELEASE.pom with status code 501 @ line 46
, column 25
[ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework.boot:spring-boot-dependencies:pom:2.1.13.RELEASE from/to nexus (http://repo1.ma
ven.org/maven2): Failed to transfer file http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.13.RELEASE/spring-boot-dependencies-2
.1.13.RELEASE.pom with status code 501 @ line 58, column 25
[ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework.cloud:spring-cloud-dependencies:pom:Greenwich.SR5 from/to nexus (http://repo1.m
aven.org/maven2): Failed to transfer file http://repo1.maven.org/maven2/org/springframework/cloud/spring-cloud-dependencies/Greenwich.SR5/spring-cloud-dependencie
s-Greenwich.SR5.pom with status code 501 @ line 65, column 25
[ERROR] Non-resolvable import POM: Could not transfer artifact io.spring.platform:platform-bom:pom:Cairo-SR8 from/to nexus (http://repo1.maven.org/maven2): Failed
to transfer file http://repo1.maven.org/maven2/io/spring/platform/platform-bom/Cairo-SR8/platform-bom-Cairo-SR8.pom with status code 501 @ line 72, column 25
[ERROR] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is missing. @ line 83, column 21
@
[ERROR] The build could not read 11 projects -> [Help 1]
[ERROR]
[ERROR] The project org.springblade:blade-desk:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-desk\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.springblade:blade-desk:${bladex.project.version}: Could not transfer artifact org.springblade:blade-service:pom:2.5.
0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Failed to transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-s
ervice-2.5.0.RELEASE.pom with status code 501 and 'parent.relativePath' points at wrong local POM @ line 6, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.springblade:blade-system:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-system\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.springblade:blade-system:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELE
ASE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or up
dates are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Faile
d to transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.rela
tivePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.springblade:blade-user:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-user\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.springblade:blade-user:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELEAS
E from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or upda
tes are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Failed
to transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.relati
vePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.springblade:blade-course:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-course\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.springblade:blade-course:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELE
ASE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or up
dates are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Faile
d to transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.rela
tivePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.springblade:blade-school:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-school\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.springblade:blade-school:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELE
ASE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or up
dates are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Faile
d to transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.rela
tivePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.springblade:blade-client:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-client\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.springblade:blade-client:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELE
ASE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or up
dates are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Faile
d to transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.rela
tivePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.springblade:blade-market:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-market\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.springblade:blade-market:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELE
ASE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or up
dates are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Faile
d to transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.rela
tivePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.springblade:blade-setting:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-setting\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.springblade:blade-setting:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.REL
EASE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or u
pdates are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Fail
ed to transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.rel
ativePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.springblade:blade-order:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-order\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.springblade:blade-order:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELEA
SE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or upd
ates are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Failed
to transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.relat
ivePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.springblade:blade-wechat:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-wechat\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.springblade:blade-wechat:${bladex.project.version}: Failure to transfer org.springblade:blade-service:pom:2.5.0.RELE
ASE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or up
dates are forced. Original error: Could not transfer artifact org.springblade:blade-service:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/maven2): Faile
d to transfer file http://repo1.maven.org/maven2/org/springblade/blade-service/2.5.0.RELEASE/blade-service-2.5.0.RELEASE.pom with status code 501 and 'parent.rela
tivePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.springblade:BladeX:2.5.0.RELEASE (D:\project\bladex\BladeX\pom.xml) has 5 errors
[ERROR] Non-resolvable import POM: Could not transfer artifact org.springblade.platform:blade-bom:pom:2.5.0.RELEASE from/to nexus (http://repo1.maven.org/mave
n2): Failed to transfer file http://repo1.maven.org/maven2/org/springblade/platform/blade-bom/2.5.0.RELEASE/blade-bom-2.5.0.RELEASE.pom with status code 501 @ lin
e 46, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework.boot:spring-boot-dependencies:pom:2.1.13.RELEASE from/to nexus (http://repo
1.maven.org/maven2): Failed to transfer file http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.13.RELEASE/spring-boot-dependenci
es-2.1.13.RELEASE.pom with status code 501 @ line 58, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework.cloud:spring-cloud-dependencies:pom:Greenwich.SR5 from/to nexus (http://rep
o1.maven.org/maven2): Failed to transfer file http://repo1.maven.org/maven2/org/springframework/cloud/spring-cloud-dependencies/Greenwich.SR5/spring-cloud-depende
ncies-Greenwich.SR5.pom with status code 501 @ line 65, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not transfer artifact io.spring.platform:platform-bom:pom:Cairo-SR8 from/to nexus (http://repo1.maven.org/maven2): Fa
iled to transfer file http://repo1.maven.org/maven2/io/spring/platform/platform-bom/Cairo-SR8/platform-bom-Cairo-SR8.pom with status code 501 @ line 72, column 25
-> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is missing. @ line 83, column 21
[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
扫一扫访问 Blade技术社区 移动端