Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved

前端 未结 29 1246
执笔经年
执笔经年 2020-11-22 11:56
org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Faile         


        
29条回答
  •  悲哀的现实
    2020-11-22 12:39

    his issue is happening due to change of protocol from http to https for central repository. please refer following link for more details. https://support.sonatype.com/hc/en-us/articles/360041287334-Central-501-HTTPS-Required 
    
    In order to fix the problem, copy following into your pom.ml file. This will set the repository url to use https.
    
    
            
                
                    false
                
                central
                Central Repository
                https://repo.maven.apache.org/maven2
            
        
        
            
                
                    never
                
                
                    false
                
                central
                Central Repository
                https://repo.maven.apache.org/maven2
            
        
    

提交回复
热议问题