Maven: testCompile failed multiple points

某日配置maven是报错:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:testCompile (default-testCompile) on project oauth-test: Execution default-testCompile of goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:testCompile failed: multiple points -> [Help 1]

原因:没有配置${java.version}


            
                org.apache.maven.plugins
                maven-compiler-plugin
                ${maven-compiler-plugin.version}
                
                    ${java.version}
                    ${java.version}
                    
                
            
        
配置变量

    
    false
    1.8

 

 

 

 

你可能感兴趣的:(问题和异常)