• [Maven]告警[WARNING] Unable to create Maven project from repository.


    pom.xml中添加了Spring Repository,片段如下:

      <repositories>
        <repository>
          <id>Spring Repository</id>
          <url>http://repo.spring.io/plugins-release/</url>
        </repository>
      </repositories>
    

    执行mvn clean package时报错[WARNING] Unable to create Maven project from repository.,详细报错如下:

    2020-08-08T15:33:01.0594808Z Downloading from Spring Repository: http://repo.spring.io/plugins-release/org/antlr/com.springsource.antlr/2.7.7/com.springsource.antlr-2.7.7.pom
    2020-08-08T15:33:01.1322765Z [WARNING] Unable to create Maven project from repository.
    2020-08-08T15:33:01.1325181Z org.apache.maven.project.ProjectBuildingException: Error resolving project artifact: Failure to transfer org.antlr:com.springsource.antlr:pom:2.7.7 from http://repo.spring.io/plugins-release/ was cached in the local repository, resolution will not be reattempted until the update interval of Spring Repository has elapsed or updates are forced. Original error: Could not transfer artifact org.antlr:com.springsource.antlr:pom:2.7.7 from/to Spring Repository (http://repo.spring.io/plugins-release/): Access denied to: http://repo.spring.io/plugins-release/org/antlr/com.springsource.antlr/2.7.7/com.springsource.antlr-2.7.7.pom for project org.antlr:com.springsource.antlr:pom:2.7.7
    2020-08-08T15:33:01.1326183Z     at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:330)
    2020-08-08T15:33:01.1326724Z     at org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository (RepositoryUtils.java:125)
    2020-08-08T15:33:01.1327092Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderArtifactRow (DependenciesRenderer.java:799)
    2020-08-08T15:33:01.1327435Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderDependenciesForScope (DependenciesRenderer.java:749)
    2020-08-08T15:33:01.1327840Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderDependenciesForAllScopes (DependenciesRenderer.java:413)
    2020-08-08T15:33:01.1328174Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionProjectTransitiveDependencies (DependenciesRenderer.java:438)
    2020-08-08T15:33:01.1328503Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody (DependenciesRenderer.java:219)
    2020-08-08T15:33:01.1328811Z     at org.apache.maven.reporting.AbstractMavenReportRenderer.render (AbstractMavenReportRenderer.java:80)
    2020-08-08T15:33:01.1329119Z     at org.apache.maven.report.projectinfo.DependenciesReport.executeReport (DependenciesReport.java:162)
    2020-08-08T15:33:01.1329473Z     at org.apache.maven.reporting.AbstractMavenReport.generate (AbstractMavenReport.java:251)
    2020-08-08T15:33:01.1329777Z     at org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument (ReportDocumentRenderer.java:267)
    2020-08-08T15:33:01.1330087Z     at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render (DefaultSiteRenderer.java:349)
    2020-08-08T15:33:01.1330383Z     at org.apache.maven.plugins.site.render.SiteMojo.renderLocale (SiteMojo.java:198)
    2020-08-08T15:33:01.1330671Z     at org.apache.maven.plugins.site.render.SiteMojo.execute (SiteMojo.java:147)
    2020-08-08T15:33:01.1330968Z     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    2020-08-08T15:33:01.1331263Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    2020-08-08T15:33:01.1331553Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    2020-08-08T15:33:01.1331848Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    2020-08-08T15:33:01.1332145Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    2020-08-08T15:33:01.1332657Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    2020-08-08T15:33:01.1332970Z     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    2020-08-08T15:33:01.1333277Z     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    2020-08-08T15:33:01.1333562Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    2020-08-08T15:33:01.1333843Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    2020-08-08T15:33:01.1334119Z     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    2020-08-08T15:33:01.1334525Z     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    2020-08-08T15:33:01.1334807Z     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    2020-08-08T15:33:01.1335087Z     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    2020-08-08T15:33:01.1335382Z     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    2020-08-08T15:33:01.1335757Z     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    2020-08-08T15:33:01.1336194Z     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    2020-08-08T15:33:01.1336495Z     at java.lang.reflect.Method.invoke (Method.java:498)
    2020-08-08T15:33:01.1336728Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    2020-08-08T15:33:01.1437427Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    2020-08-08T15:33:01.1438077Z     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    2020-08-08T15:33:01.1438423Z     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    2020-08-08T15:33:01.1438912Z Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to transfer org.antlr:com.springsource.antlr:pom:2.7.7 from http://repo.spring.io/plugins-release/ was cached in the local repository, resolution will not be reattempted until the update interval of Spring Repository has elapsed or updates are forced. Original error: Could not transfer artifact org.antlr:com.springsource.antlr:pom:2.7.7 from/to Spring Repository (http://repo.spring.io/plugins-release/): Access denied to: http://repo.spring.io/plugins-release/org/antlr/com.springsource.antlr/2.7.7/com.springsource.antlr-2.7.7.pom
    2020-08-08T15:33:01.1439331Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:424)
    2020-08-08T15:33:01.1439617Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:229)
    2020-08-08T15:33:01.1439970Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:207)
    2020-08-08T15:33:01.1440255Z     at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:262)
    2020-08-08T15:33:01.1440630Z     at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:318)
    2020-08-08T15:33:01.1440914Z     at org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository (RepositoryUtils.java:125)
    2020-08-08T15:33:01.1441204Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderArtifactRow (DependenciesRenderer.java:799)
    2020-08-08T15:33:01.1441501Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderDependenciesForScope (DependenciesRenderer.java:749)
    2020-08-08T15:33:01.1441810Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderDependenciesForAllScopes (DependenciesRenderer.java:413)
    2020-08-08T15:33:01.1442122Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionProjectTransitiveDependencies (DependenciesRenderer.java:438)
    2020-08-08T15:33:01.1442614Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody (DependenciesRenderer.java:219)
    2020-08-08T15:33:01.1442897Z     at org.apache.maven.reporting.AbstractMavenReportRenderer.render (AbstractMavenReportRenderer.java:80)
    2020-08-08T15:33:01.1443182Z     at org.apache.maven.report.projectinfo.DependenciesReport.executeReport (DependenciesReport.java:162)
    2020-08-08T15:33:01.1443455Z     at org.apache.maven.reporting.AbstractMavenReport.generate (AbstractMavenReport.java:251)
    2020-08-08T15:33:01.1443780Z     at org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument (ReportDocumentRenderer.java:267)
    2020-08-08T15:33:01.1444182Z     at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render (DefaultSiteRenderer.java:349)
    2020-08-08T15:33:01.1444458Z     at org.apache.maven.plugins.site.render.SiteMojo.renderLocale (SiteMojo.java:198)
    2020-08-08T15:33:01.1444767Z     at org.apache.maven.plugins.site.render.SiteMojo.execute (SiteMojo.java:147)
    2020-08-08T15:33:01.1445051Z     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    2020-08-08T15:33:01.1445321Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    2020-08-08T15:33:01.1445584Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    2020-08-08T15:33:01.1445936Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    2020-08-08T15:33:01.1446211Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    2020-08-08T15:33:01.1446503Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    2020-08-08T15:33:01.1446788Z     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    2020-08-08T15:33:01.1447059Z     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    2020-08-08T15:33:01.1447331Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    2020-08-08T15:33:01.1447612Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    2020-08-08T15:33:01.1447918Z     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    2020-08-08T15:33:01.1448178Z     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    2020-08-08T15:33:01.1448430Z     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    2020-08-08T15:33:01.3050601Z     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    2020-08-08T15:33:01.3052170Z     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    2020-08-08T15:33:01.3054426Z     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    2020-08-08T15:33:01.3055156Z     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    2020-08-08T15:33:01.3055571Z     at java.lang.reflect.Method.invoke (Method.java:498)
    2020-08-08T15:33:01.3056680Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    2020-08-08T15:33:01.3057178Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    2020-08-08T15:33:01.3057564Z     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    2020-08-08T15:33:01.3057923Z     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    2020-08-08T15:33:01.3058519Z Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer org.antlr:com.springsource.antlr:pom:2.7.7 from http://repo.spring.io/plugins-release/ was cached in the local repository, resolution will not be reattempted until the update interval of Spring Repository has elapsed or updates are forced. Original error: Could not transfer artifact org.antlr:com.springsource.antlr:pom:2.7.7 from/to Spring Repository (http://repo.spring.io/plugins-release/): Access denied to: http://repo.spring.io/plugins-release/org/antlr/com.springsource.antlr/2.7.7/com.springsource.antlr-2.7.7.pom
    2020-08-08T15:33:01.3059320Z     at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException (DefaultUpdateCheckManager.java:225)
    2020-08-08T15:33:01.3060009Z     at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact (DefaultUpdateCheckManager.java:173)
    2020-08-08T15:33:01.3060600Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads (DefaultArtifactResolver.java:559)
    2020-08-08T15:33:01.3061033Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads (DefaultArtifactResolver.java:483)
    2020-08-08T15:33:01.3061605Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:401)
    2020-08-08T15:33:01.3062004Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:229)
    2020-08-08T15:33:01.3062404Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:207)
    2020-08-08T15:33:01.3062792Z     at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:262)
    2020-08-08T15:33:01.3063179Z     at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:318)
    2020-08-08T15:33:01.3063579Z     at org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository (RepositoryUtils.java:125)
    2020-08-08T15:33:01.3063984Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderArtifactRow (DependenciesRenderer.java:799)
    2020-08-08T15:33:01.3064410Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderDependenciesForScope (DependenciesRenderer.java:749)
    2020-08-08T15:33:01.3064833Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderDependenciesForAllScopes (DependenciesRenderer.java:413)
    2020-08-08T15:33:01.3065719Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionProjectTransitiveDependencies (DependenciesRenderer.java:438)
    2020-08-08T15:33:01.3066149Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody (DependenciesRenderer.java:219)
    2020-08-08T15:33:01.3066522Z     at org.apache.maven.reporting.AbstractMavenReportRenderer.render (AbstractMavenReportRenderer.java:80)
    2020-08-08T15:33:01.3066882Z     at org.apache.maven.report.projectinfo.DependenciesReport.executeReport (DependenciesReport.java:162)
    2020-08-08T15:33:01.3067282Z     at org.apache.maven.reporting.AbstractMavenReport.generate (AbstractMavenReport.java:251)
    2020-08-08T15:33:01.3067644Z     at org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument (ReportDocumentRenderer.java:267)
    2020-08-08T15:33:01.3068664Z     at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render (DefaultSiteRenderer.java:349)
    2020-08-08T15:33:01.3069316Z     at org.apache.maven.plugins.site.render.SiteMojo.renderLocale (SiteMojo.java:198)
    2020-08-08T15:33:01.3069738Z     at org.apache.maven.plugins.site.render.SiteMojo.execute (SiteMojo.java:147)
    2020-08-08T15:33:01.3070186Z     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    2020-08-08T15:33:01.3070498Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    2020-08-08T15:33:01.3143104Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    2020-08-08T15:33:01.3143523Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    2020-08-08T15:33:01.3143823Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    2020-08-08T15:33:01.3144110Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    2020-08-08T15:33:01.3144566Z     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    2020-08-08T15:33:01.3144850Z     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    2020-08-08T15:33:01.3145295Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    2020-08-08T15:33:01.3145556Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    2020-08-08T15:33:01.3145940Z     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    2020-08-08T15:33:01.3146208Z     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    2020-08-08T15:33:01.3146585Z     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    2020-08-08T15:33:01.3146845Z     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    2020-08-08T15:33:01.3147104Z     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    2020-08-08T15:33:01.3147387Z     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    2020-08-08T15:33:01.3147710Z     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    2020-08-08T15:33:01.3147977Z     at java.lang.reflect.Method.invoke (Method.java:498)
    2020-08-08T15:33:01.3148240Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    2020-08-08T15:33:01.3148512Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    2020-08-08T15:33:01.3148781Z     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    2020-08-08T15:33:01.3149217Z     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    2020-08-08T15:33:01.3149891Z [WARNING] Unable to create Maven project from repository for artifact org.antlr:com.springsource.antlr:jar:2.7.7
    2020-08-08T15:33:01.3150596Z org.apache.maven.project.ProjectBuildingException: Error resolving project artifact: Failure to transfer org.antlr:com.springsource.antlr:pom:2.7.7 from http://repo.spring.io/plugins-release/ was cached in the local repository, resolution will not be reattempted until the update interval of Spring Repository has elapsed or updates are forced. Original error: Could not transfer artifact org.antlr:com.springsource.antlr:pom:2.7.7 from/to Spring Repository (http://repo.spring.io/plugins-release/): Access denied to: http://repo.spring.io/plugins-release/org/antlr/com.springsource.antlr/2.7.7/com.springsource.antlr-2.7.7.pom for project org.antlr:com.springsource.antlr:pom:2.7.7
    2020-08-08T15:33:01.3151081Z     at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:330)
    2020-08-08T15:33:01.3151452Z     at org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository (RepositoryUtils.java:125)
    2020-08-08T15:33:01.3151780Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDescriptionsAndURLs (DependenciesRenderer.java:890)
    2020-08-08T15:33:01.3152114Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDependencyListing (DependenciesRenderer.java:847)
    2020-08-08T15:33:01.3152480Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDependencyListing (DependenciesRenderer.java:867)
    2020-08-08T15:33:01.3152808Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDependencyListing (DependenciesRenderer.java:867)
    2020-08-08T15:33:01.3153171Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionDependencyTree (DependenciesRenderer.java:486)
    2020-08-08T15:33:01.3153832Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionProjectDependencyGraph (DependenciesRenderer.java:449)
    2020-08-08T15:33:01.3154303Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody (DependenciesRenderer.java:222)
    2020-08-08T15:33:01.3154706Z     at org.apache.maven.reporting.AbstractMavenReportRenderer.render (AbstractMavenReportRenderer.java:80)
    2020-08-08T15:33:01.3154987Z     at org.apache.maven.report.projectinfo.DependenciesReport.executeReport (DependenciesReport.java:162)
    2020-08-08T15:33:01.3155493Z     at org.apache.maven.reporting.AbstractMavenReport.generate (AbstractMavenReport.java:251)
    2020-08-08T15:33:01.3223837Z     at org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument (ReportDocumentRenderer.java:267)
    2020-08-08T15:33:01.3225094Z     at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render (DefaultSiteRenderer.java:349)
    2020-08-08T15:33:01.3225770Z     at org.apache.maven.plugins.site.render.SiteMojo.renderLocale (SiteMojo.java:198)
    2020-08-08T15:33:01.3226100Z     at org.apache.maven.plugins.site.render.SiteMojo.execute (SiteMojo.java:147)
    2020-08-08T15:33:01.3226400Z     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    2020-08-08T15:33:01.3226712Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    2020-08-08T15:33:01.3227006Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    2020-08-08T15:33:01.3227287Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    2020-08-08T15:33:01.3227584Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    2020-08-08T15:33:01.3227891Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    2020-08-08T15:33:01.3228216Z     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    2020-08-08T15:33:01.3228597Z     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    2020-08-08T15:33:01.3228891Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    2020-08-08T15:33:01.3229170Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    2020-08-08T15:33:01.3229538Z     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    2020-08-08T15:33:01.3229847Z     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    2020-08-08T15:33:01.3230121Z     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    2020-08-08T15:33:01.3230396Z     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    2020-08-08T15:33:01.3230718Z     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    2020-08-08T15:33:01.3231001Z     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    2020-08-08T15:33:01.3231348Z     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    2020-08-08T15:33:01.3231628Z     at java.lang.reflect.Method.invoke (Method.java:498)
    2020-08-08T15:33:01.3231908Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    2020-08-08T15:33:01.3232208Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    2020-08-08T15:33:01.3232659Z     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    2020-08-08T15:33:01.3232979Z     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    2020-08-08T15:33:01.3233621Z Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to transfer org.antlr:com.springsource.antlr:pom:2.7.7 from http://repo.spring.io/plugins-release/ was cached in the local repository, resolution will not be reattempted until the update interval of Spring Repository has elapsed or updates are forced. Original error: Could not transfer artifact org.antlr:com.springsource.antlr:pom:2.7.7 from/to Spring Repository (http://repo.spring.io/plugins-release/): Access denied to: http://repo.spring.io/plugins-release/org/antlr/com.springsource.antlr/2.7.7/com.springsource.antlr-2.7.7.pom
    2020-08-08T15:33:01.3234280Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:424)
    2020-08-08T15:33:01.3234592Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:229)
    2020-08-08T15:33:01.3234904Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:207)
    2020-08-08T15:33:01.3235209Z     at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:262)
    2020-08-08T15:33:01.3235505Z     at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:318)
    2020-08-08T15:33:01.3236023Z     at org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository (RepositoryUtils.java:125)
    2020-08-08T15:33:01.3236399Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDescriptionsAndURLs (DependenciesRenderer.java:890)
    2020-08-08T15:33:01.3236772Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDependencyListing (DependenciesRenderer.java:847)
    2020-08-08T15:33:01.3237088Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDependencyListing (DependenciesRenderer.java:867)
    2020-08-08T15:33:01.3237406Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDependencyListing (DependenciesRenderer.java:867)
    2020-08-08T15:33:01.3302486Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionDependencyTree (DependenciesRenderer.java:486)
    2020-08-08T15:33:01.3302922Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionProjectDependencyGraph (DependenciesRenderer.java:449)
    2020-08-08T15:33:01.3303309Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody (DependenciesRenderer.java:222)
    2020-08-08T15:33:01.3303635Z     at org.apache.maven.reporting.AbstractMavenReportRenderer.render (AbstractMavenReportRenderer.java:80)
    2020-08-08T15:33:01.3303938Z     at org.apache.maven.report.projectinfo.DependenciesReport.executeReport (DependenciesReport.java:162)
    2020-08-08T15:33:01.3304233Z     at org.apache.maven.reporting.AbstractMavenReport.generate (AbstractMavenReport.java:251)
    2020-08-08T15:33:01.3304532Z     at org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument (ReportDocumentRenderer.java:267)
    2020-08-08T15:33:01.3304833Z     at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render (DefaultSiteRenderer.java:349)
    2020-08-08T15:33:01.3305135Z     at org.apache.maven.plugins.site.render.SiteMojo.renderLocale (SiteMojo.java:198)
    2020-08-08T15:33:01.3305571Z     at org.apache.maven.plugins.site.render.SiteMojo.execute (SiteMojo.java:147)
    2020-08-08T15:33:01.3306071Z     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    2020-08-08T15:33:01.3306377Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    2020-08-08T15:33:01.3306663Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    2020-08-08T15:33:01.3306944Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    2020-08-08T15:33:01.3307395Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    2020-08-08T15:33:01.3307845Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    2020-08-08T15:33:01.3308147Z     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    2020-08-08T15:33:01.3308428Z     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    2020-08-08T15:33:01.3308696Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    2020-08-08T15:33:01.3309180Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    2020-08-08T15:33:01.3309498Z     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    2020-08-08T15:33:01.3309763Z     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    2020-08-08T15:33:01.3310022Z     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    2020-08-08T15:33:01.3310281Z     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    2020-08-08T15:33:01.3310540Z     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    2020-08-08T15:33:01.3310805Z     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    2020-08-08T15:33:01.3311191Z     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    2020-08-08T15:33:01.3311458Z     at java.lang.reflect.Method.invoke (Method.java:498)
    2020-08-08T15:33:01.3311727Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    2020-08-08T15:33:01.3312007Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    2020-08-08T15:33:01.3312278Z     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    2020-08-08T15:33:01.3312592Z     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    2020-08-08T15:33:01.3313075Z Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer org.antlr:com.springsource.antlr:pom:2.7.7 from http://repo.spring.io/plugins-release/ was cached in the local repository, resolution will not be reattempted until the update interval of Spring Repository has elapsed or updates are forced. Original error: Could not transfer artifact org.antlr:com.springsource.antlr:pom:2.7.7 from/to Spring Repository (http://repo.spring.io/plugins-release/): Access denied to: http://repo.spring.io/plugins-release/org/antlr/com.springsource.antlr/2.7.7/com.springsource.antlr-2.7.7.pom
    2020-08-08T15:33:01.3313582Z     at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException (DefaultUpdateCheckManager.java:225)
    2020-08-08T15:33:01.3313880Z     at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact (DefaultUpdateCheckManager.java:173)
    2020-08-08T15:33:01.3314173Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads (DefaultArtifactResolver.java:559)
    2020-08-08T15:33:01.3314461Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads (DefaultArtifactResolver.java:483)
    2020-08-08T15:33:01.7121003Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:401)
    2020-08-08T15:33:04.0445966Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:229)
    2020-08-08T15:33:04.0448808Z     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:207)
    2020-08-08T15:33:04.0449107Z     at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:262)
    2020-08-08T15:33:04.0449299Z     at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:318)
    2020-08-08T15:33:04.0449859Z     at org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository (RepositoryUtils.java:125)
    2020-08-08T15:33:04.0516512Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDescriptionsAndURLs (DependenciesRenderer.java:890)
    2020-08-08T15:33:04.0516799Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDependencyListing (DependenciesRenderer.java:847)
    2020-08-08T15:33:04.0517040Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDependencyListing (DependenciesRenderer.java:867)
    2020-08-08T15:33:04.0517257Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDependencyListing (DependenciesRenderer.java:867)
    2020-08-08T15:33:04.0517736Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionDependencyTree (DependenciesRenderer.java:486)
    2020-08-08T15:33:04.0517961Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionProjectDependencyGraph (DependenciesRenderer.java:449)
    2020-08-08T15:33:04.0518174Z     at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody (DependenciesRenderer.java:222)
    2020-08-08T15:33:04.0518374Z     at org.apache.maven.reporting.AbstractMavenReportRenderer.render (AbstractMavenReportRenderer.java:80)
    2020-08-08T15:33:04.0519318Z     at org.apache.maven.report.projectinfo.DependenciesReport.executeReport (DependenciesReport.java:162)
    2020-08-08T15:33:04.0519516Z     at org.apache.maven.reporting.AbstractMavenReport.generate (AbstractMavenReport.java:251)
    2020-08-08T15:33:04.0519726Z     at org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument (ReportDocumentRenderer.java:267)
    2020-08-08T15:33:04.0519924Z     at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render (DefaultSiteRenderer.java:349)
    2020-08-08T15:33:04.0520110Z     at org.apache.maven.plugins.site.render.SiteMojo.renderLocale (SiteMojo.java:198)
    2020-08-08T15:33:04.0520290Z     at org.apache.maven.plugins.site.render.SiteMojo.execute (SiteMojo.java:147)
    2020-08-08T15:33:04.0520477Z     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    2020-08-08T15:33:04.0520666Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    2020-08-08T15:33:04.0520854Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    2020-08-08T15:33:04.0521029Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    2020-08-08T15:33:04.0521222Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    2020-08-08T15:33:04.0521416Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    2020-08-08T15:33:04.0521615Z     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    2020-08-08T15:33:04.0521806Z     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    2020-08-08T15:33:04.0521981Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    2020-08-08T15:33:04.0522151Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    2020-08-08T15:33:04.0522492Z     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    2020-08-08T15:33:04.0522654Z     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    2020-08-08T15:33:04.0522815Z     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    2020-08-08T15:33:04.0621232Z     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    2020-08-08T15:33:04.0621427Z     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    2020-08-08T15:33:04.0621603Z     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    2020-08-08T15:33:04.0621784Z     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    2020-08-08T15:33:04.0621960Z     at java.lang.reflect.Method.invoke (Method.java:498)
    2020-08-08T15:33:04.0622142Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    2020-08-08T15:33:04.0622324Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    2020-08-08T15:33:04.0622522Z     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    2020-08-08T15:33:04.0622864Z     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    

    看到这种大段的异常日志不要慌,直接看最后一个Caused by日志即可:

    2020-08-08T15:33:01.3313075Z Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer org.antlr:com.springsource.antlr:pom:2.7.7 from http://repo.spring.io/plugins-release/ was cached in the local repository, resolution will not be reattempted until the update interval of Spring Repository has elapsed or updates are forced. Original error: Could not transfer artifact org.antlr:com.springsource.antlr:pom:2.7.7 from/to Spring Repository (http://repo.spring.io/plugins-release/): Access denied to: http://repo.spring.io/plugins-release/org/antlr/com.springsource.antlr/2.7.7/com.springsource.antlr-2.7.7.pom
    

    从日志中可以看出核心问题是Access denied to: http://repo.spring.io/plugins-release/org/antlr/com.springsource.antlr/2.7.7/com.springsource.antlr-2.7.7.pom,直接在浏览器中访问http://repo.spring.io/plugins-release/org/antlr/com.springsource.antlr/2.7.7/com.springsource.antlr-2.7.7.pom,显示HTTP is not supported. Please use HTTPS,那根源问题就清楚了,肯定是http://repo.spring.io已经升级为https了,所以在pom.xml中使用https进行访问即可:

      <repositories>
        <repository>
          <id>Spring Repository</id>
          <url>https://repo.spring.io/plugins-release/</url>
        </repository>
      </repositories>
    
  • 相关阅读:
    上传文件过大的问题FileUploadBase$SizeLimitExceededException
    Oracle分页2
    详解struts2中struts.properties
    Oracle 分页
    Xcode常见错误以及解决方案
    设置时间格式
    UIScrollView解决touchesBegan等方法不能触发的解方案
    ViewController 之间设置转场动画
    IQKeyboredManager使用
    SVN
  • 原文地址:https://www.cnblogs.com/jiangxinnju/p/13462364.html
Copyright © 2020-2023  润新知