There are jar packages in private servers, and the idea cannot be pulled down locally. Cannot resolve XXX Dependency 'XXX'

condition:

Some can be pulled down, some can't be pulled down:

because:

 I found that the ones that can be pulled normally are central, and the snapshots are not downloaded:

 

 Because by default, it will only be downloaded from Central, so it will lead to the above "Dependency 'xxxx' not found". After that, you can consider adding this address to the maven configuration file setting, or put all the jar packages in Central. (To be added)

Solution:

Add to pom:

<repositories>
    <repository>
        <id>JBoss repository</id>
        <url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
    </repository>
</repositories>

 There is only one left:

Which module is still missing, do it again. 

 and it worked:

hint:

 The code just now does not need to be submitted, remember to delete it.

Guess you like

Origin blog.csdn.net/Ciel_Y/article/details/122825178