e_ddjava 2022-03-22 19:58 采纳率: 74.2%
浏览 13
已结题

maven 传项目到 私服

Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project student-entity: Failed to deploy artifacts: Could not transfer artifact org.song.student:student-entity:jar:0.0.1-20220322.111640-1 from/to snapshots (http://192.168.1.72:8081/nexus/content/repositories/snapshots/): Access denied to http://192.168.1.72:8081/nexus/content/repositories/snapshots/org/song/student/student-entity/0.0.1-SNAPSHOT/student-entity-0.0.1-20220322.111640-1.jar. Error code 401, Unauthorized -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

  • 写回答

1条回答 默认 最新

  • 码农小福贵 2022-03-22 21:19
    关注

    你没有权限

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 4月7日
  • 已采纳回答 3月30日
  • 创建了问题 3月22日