看一下maven的配置文件settings.xml中是否少了這一段 <server> <id>xxx</id> <username>xxx</username> <password>xxx</password> </server>maven