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

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条回答 默认 最新

  • 林茕夜 2017-08-21 08:05
    关注

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

    评论

报告相同问题?