Cannot resolve plugin org.apache.maven.plugins:maven-source-plugin:<unknown>

导入项目时maven打包插件报错:

Cannot resolve plugin org.apache.maven.plugins:maven-source-plugin:
Cannot resolve plugin org.apache.maven.plugins:maven-source-plugin:<unknown>_第1张图片

解决方案为:

在项目pom文件中指定你本地maven库中存在的maven-compiler-plugin的jar包的版本
Cannot resolve plugin org.apache.maven.plugins:maven-source-plugin:<unknown>_第2张图片

    
		
			
				org.apache.maven.plugins
				maven-source-plugin
				3.2.1
				
					
						compile
						
							jar-no-fork
						
					
				
			
		
	

你可能感兴趣的:(Java,java,spring,后端)