WI_232995
WI_232995
采纳率40%
2017-08-21 07:37

maven怎么打包发布到linux中

[ERROR] Failed to execute goal on project wenhua-start: Could not resolve dependencies for project wenhua-start:wenhua-start:war:0.0.1-SNAPSHOT: Could not find artifact wenhua-app-tcpserver:wenhua-app-tcpserver:jar:0.0.1-SNAPSHOT -> [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/DependencyResolutionException

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答

  • weisheixiaoxin Laherz 4年前

    请关注我的博客,http://blog.csdn.net/weisheixiaoxin 会定期更新有关maven的学习文章
    需要使用maven插件cargo
    图片说明
    linux tomcat/conf/tomcat-users.xml
    图片说明

    点赞 评论 复制链接分享
  • u012561176 茕夜 4年前

    你这Maven依赖都有问题吧,clean update一下Project,再重新Maven clean、Maven install,本地打包没问题了,再考虑怎么发布到linux上吧,有命令直接解压包发到linux服务器上就可以了!

    点赞 评论 复制链接分享

相关推荐