报错:org.eclipse.jgit.api.errors.TransportException: git@xxxxx:xxx.git: UnknownHostKey: xxxx. RSA key fingerprint is xxxxxx
或Authentication is required but no CredentialsProvider has been registered
spring config的报错网上一大推,不在赘述
pom里配置了
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>3.0.1</version>
</plugin>
ide里标红或报错,会导致这个问题。大家一定关注pom报错,不然莫名其妙踩坑。