报错信息:
ArtifactTransferException: Failure to transfer javax.xml.stream:stax-api:jar:1.0-2 from http://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 javax.xml.stream:stax-api:jar:1.0-2 from/to central (http://repo.maven.apache.org/maven2): The operation was cancelled.
解决方案:
右击项目,选择Maven,选择Update Project...,点击OK即可。