1.在模块中加入repository repository{ maven {url "http://192.168.**.**:8081/nexus/conent/groups/public/" } } 然后引入依赖就可以了