Import Maven Project to Eclipse and Fix the errors

阅读更多

使用mvn创建java项目eclipse导入报错

 

Multiple annotations found at this line: - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven- resources-plugin

 

在pom.xml添加


    
        
            
                org.eclipse.m2e
                lifecycle-mapping
                1.0.0
                
                    
                        
                            
                                
                                    org.apache.maven.plugins
                                    maven-resources-plugin
                                    [2.0,)
                                    
                                        resources
                                        testResources
                                    
                                
                                
                                    
                                
                            
                        
                    
                
            
        
    
 

 

查到解决办法

http://stackoverflow.com/questions/7638562/import-maven-project-to-eclipse-and-fix-the-errors

 

你可能感兴趣的:(Import Maven Project to Eclipse and Fix the errors)