[BUG] spotless-maven-plugin:2.23.0:check failed: Unable to resolve dependencies

1 background

The following error occurs when compiling the source code dolphinscheduler-3.1.3:
insert image description here

2 reasons

Check the corresponding address of the local warehouse, and find that there is an updated jar package that has not been updated. The
insert image description here
local configuration is the Ali source image.
insert image description here
It can be found that the Ali source image does not have the jar package of this version, so an error is reported.
insert image description here

3 solutions

① Go to the maven official website to download the relevant dependencies
https://mvnrepository.com/
② Search
insert image description here
③ Find the corresponding version
insert image description here
④ Download the corresponding jar package and pom file
insert image description here
insert image description here
⑤ After the download is complete, replace the jar package in the local maven warehouse
insert image description here
⑥ Recompile again

Guess you like

Origin blog.csdn.net/Keyuchen_01/article/details/128675795