IDEA创建maven项目详细步骤

https://blog.csdn.net/qq_32040767/article/details/76572162

常见错误1:

[ERROR] Maven execution terminated abnormally (exit code 1)
错误原因 : 没有配置好
解决方法 :

  1. 首先要把环境配置对https://blog.csdn.net/yanghaibobo110/article/details/73835469
  2. 确定是否有settings.xml , 内容如下


 
/home/yizhen/.m2/repository
    
        
            alimaven
            aliyun maven
            http://maven.aliyun.com/nexus/content/groups/public/
            central
        
    
  
    
       nexus 
        
            
                nexus
                local private nexus
                http://maven.oschina.net/content/groups/public/
                
                    true
                
                
                    false
                
            
        
        
        
            
            nexus
            local private nexus
            http://maven.oschina.net/content/groups/public/
            
                true
            
            
                false
            
            
        
    

你可能感兴趣的:(IDEA创建maven项目详细步骤)