Failure to transfer org.codehaus.plexus:plexus-interpolation:jar:1.13 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed
or updates are forced. Original error: Could not transfer artifact org.codehaus.plexus:plexus-interpolation:jar:1.13 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version
org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer org.codehaus.plexus:plexus-interpolation:jar:1.13 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted
until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.codehaus.plexus:plexus-interpolation:jar:1.13 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert:
protocol_version at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:238) at
org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:585) at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:503) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421) at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367) at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:205) at org.apache.maven.project.DefaultProjectBuilder.resolveDependencies(DefaultProjectBuilder.java:215) at
org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:188) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:119) at
org.eclipse.m2e.core.internal.embedder.MavenImpl.readMavenProject(MavenImpl.java:636) at
org.eclipse.m2e.core.internal.project.registry.DefaultMavenDependencyResolver.resolveProjectDependencies(DefaultMavenDependencyResolver.java:63) at
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refreshPhase2(ProjectRegistryManager.java:529) at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager$3.call(ProjectRegistryManager.java:491) at
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager
3.
c
a
l
l
(
P
r
o
j
e
c
t
R
e
g
i
s
t
r
y
M
a
n
a
g
e
r
.
j
a
v
a
:
1
)
a
t
o
r
g
.
e
c
l
i
p
s
e
.
m
2
e
.
c
o
r
e
.
i
n
t
e
r
n
a
l
.
e
m
b
e
d
d
e
r
.
M
a
v
e
n
E
x
e
c
u
t
i
o
n
C
o
n
t
e
x
t
.
e
x
e
c
u
t
e
B
a
r
e
(
M
a
v
e
n
E
x
e
c
u
t
i
o
n
C
o
n
t
e
x
t
.
j
a
v
a
:
176
)
a
t
o
r
g
.
e
c
l
i
p
s
e
.
m
2
e
.
c
o
r
e
.
i
n
t
e
r
n
a
l
.
e
m
b
e
d
d
e
r
.
M
a
v
e
n
E
x
e
c
u
t
i
o
n
C
o
n
t
e
x
t
.
e
x
e
c
u
t
e
(
M
a
v
e
n
E
x
e
c
u
t
i
o
n
C
o
n
t
e
x
t
.
j
a
v
a
:
151
)
a
t
o
r
g
.
e
c
l
i
p
s
e
.
m
2
e
.
c
o
r
e
.
i
n
t
e
r
n
a
l
.
p
r
o
j
e
c
t
.
r
e
g
i
s
t
r
y
.
P
r
o
j
e
c
t
R
e
g
i
s
t
r
y
M
a
n
a
g
e
r
.
r
e
f
r
e
s
h
(
P
r
o
j
e
c
t
R
e
g
i
s
t
r
y
M
a
n
a
g
e
r
.
j
a
v
a
:
495
)
a
t
o
r
g
.
e
c
l
i
p
s
e
.
m
2
e
.
c
o
r
e
.
i
n
t
e
r
n
a
l
.
p
r
o
j
e
c
t
.
r
e
g
i
s
t
r
y
.
P
r
o
j
e
c
t
R
e
g
i
s
t
r
y
M
a
n
a
g
e
r
.
r
e
f
r
e
s
h
(
P
r
o
j
e
c
t
R
e
g
i
s
t
r
y
M
a
n
a
g
e
r
.
j
a
v
a
:
350
)
a
t
o
r
g
.
e
c
l
i
p
s
e
.
m
2
e
.
c
o
r
e
.
i
n
t
e
r
n
a
l
.
p
r
o
j
e
c
t
.
r
e
g
i
s
t
r
y
.
P
r
o
j
e
c
t
R
e
g
i
s
t
r
y
M
a
n
a
g
e
r
.
r
e
f
r
e
s
h
(
P
r
o
j
e
c
t
R
e
g
i
s
t
r
y
M
a
n
a
g
e
r
.
j
a
v
a
:
297
)
a
t
o
r
g
.
e
c
l
i
p
s
e
.
m
2
e
.
c
o
r
e
.
i
n
t
e
r
n
a
l
.
b
u
i
l
d
e
r
.
M
a
v
e
n
B
u
i
l
d
e
r
3.call(ProjectRegistryManager.java:1) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151) at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:495) at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:350) at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:297) at org.eclipse.m2e.core.internal.builder.MavenBuilder
3.call(ProjectRegistryManager.java:1)atorg.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)atorg.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)atorg.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:495)atorg.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:350)atorg.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:297)atorg.eclipse.m2e.core.internal.builder.MavenBuilderBuildMethod.getProjectFacade(MavenBuilder.java:154) at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod
1.
c
a
l
l
(
M
a
v
e
n
B
u
i
l
d
e
r
.
j
a
v
a
:
89
)
a
t
o
r
g
.
e
c
l
i
p
s
e
.
m
2
e
.
c
o
r
e
.
i
n
t
e
r
n
a
l
.
e
m
b
e
d
d
e
r
.
M
a
v
e
n
E
x
e
c
u
t
i
o
n
C
o
n
t
e
x
t
.
e
x
e
c
u
t
e
B
a
r
e
(
M
a
v
e
n
E
x
e
c
u
t
i
o
n
C
o
n
t
e
x
t
.
j
a
v
a
:
176
)
a
t
o
r
g
.
e
c
l
i
p
s
e
.
m
2
e
.
c
o
r
e
.
i
n
t
e
r
n
a
l
.
e
m
b
e
d
d
e
r
.
M
a
v
e
n
E
x
e
c
u
t
i
o
n
C
o
n
t
e
x
t
.
e
x
e
c
u
t
e
(
M
a
v
e
n
E
x
e
c
u
t
i
o
n
C
o
n
t
e
x
t
.
j
a
v
a
:
151
)
a
t
o
r
g
.
e
c
l
i
p
s
e
.
m
2
e
.
c
o
r
e
.
i
n
t
e
r
n
a
l
.
e
m
b
e
d
d
e
r
.
M
a
v
e
n
E
x
e
c
u
t
i
o
n
C
o
n
t
e
x
t
.
e
x
e
c
u
t
e
(
M
a
v
e
n
E
x
e
c
u
t
i
o
n
C
o
n
t
e
x
t
.
j
a
v
a
:
99
)
a
t
o
r
g
.
e
c
l
i
p
s
e
.
m
2
e
.
c
o
r
e
.
i
n
t
e
r
n
a
l
.
b
u
i
l
d
e
r
.
M
a
v
e
n
B
u
i
l
d
e
r
1.call(MavenBuilder.java:89) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99) at org.eclipse.m2e.core.internal.builder.MavenBuilder
1.call(MavenBuilder.java:89)atorg.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)atorg.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)atorg.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)atorg.eclipse.m2e.core.internal.builder.MavenBuilderBuildMethod.execute(MavenBuilder.java:86) at
org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:200) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:
300) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:359)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:382) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
- Failure to transfer org.apache.maven:maven-monitor:jar:2.0.6 from https://re
这个错误表现为:在每一个maven的pom.xml文件里面顶部会显示以上的错误信息,多半是maven项目的编译环境被改变或者其他原因,这时,只需要做以下两步:
1.先去掉Maven工程的maven特性,选中工程 鼠标右键–>Maven–>Disable Maven Nature. 经过第一步骤后pom.xml错误消失
2.选中工程,为工程增加Maven特性,选中工程 鼠标右键–>Configure–>Convert to Maven Project.经过以上两步,Maven工程就正常了。