如何让java项目跑起来_兄弟出个教程怎么让项目跑起来

大概简明的讲一下啊。。。发现很多人项目都跑不起来

下了代码之后 执行maven buildINFO] Building groupon-site-web 1.0

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ groupon-site-web ---

[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!

[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!

[INFO] skip non existing resourceDirectory /Users/yh/Documents/imoocmall/Site/Web/src/main/java

[INFO]

[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ groupon-site-web ---

[INFO] No sources to compile

[INFO]

[INFO] >>> maven-source-plugin:2.1:jar (default) > generate-sources @ groupon-site-web >>>

[INFO]

[INFO] <<

[INFO]

[INFO] --- maven-source-plugin:2.1:jar (default) @ groupon-site-web ---

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] groupon ............................................ SUCCESS [  0.614 s]

[INFO] groupon-service .................................... SUCCESS [  1.520 s]

[INFO] groupon-site ....................................... SUCCESS [  0.004 s]

[INFO] groupon-site-controller ............................ SUCCESS [  2.458 s]

[INFO] groupon-site-web ................................... FAILURE [  0.058 s]

[INFO] groupon-admin ...................................... SKIPPED

[INFO] groupon-admin-controller ........................... SKIPPED

[INFO] groupon-admin-web .................................. SKIPPED

[INFO] groupon-image-server ............................... SKIPPED

[INFO] road-alipay ........................................ SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 4.868 s

[INFO] Finished at: 2017-04-07T00:12:18+08:00

[INFO] Final Memory: 24M/274M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-source-plugin:2.1:jar (default) on project groupon-site-web: Error creating source archive: You must set at least one file. -> [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

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn  -rf :groupon-site-web

所以 这个项目应该怎么跑起来.....对maven不是精通,折腾好几个小时了,还是不行,希望老师大概讲下怎么运行项目

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值