Idea Maven Download Sources Error: Cannot download sources Sources not found for: xxx

error log

solution:

Execute the following command in the directory where the corresponding project pom.xml is located.
mvn dependency:resolve -Dclassifier=sources

after the download, select the downloaded source jar package in the class file of idea decompilation:

after the download is completed

Similar Posts: