兄弟出个教程怎么让项目跑起来
来源:1-1 功能技术点,讲法收获,项目演示

jetson
2017-04-06
大概简明的讲一下啊。。。发现很多人项目都跑不起来
下了代码之后 执行maven build
INFO] 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] <<< maven-source-plugin:2.1:jar (default) < generate-sources @ groupon-site-web <<< [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 <goals> -rf :groupon-site-web
所以 这个项目应该怎么跑起来.....对maven不是精通,折腾好几个小时了,还是不行,希望老师大概讲下怎么运行项目
写回答
3回答
-
moocer
2017-04-07
你这个问题应该是maven依赖的第三方插件没下载下来吧?
maven的问题有太多种了,文档不能覆盖到全部,而且每个人的环境、maven版本不一致,可能出的问题更多。
现在你这个是maven的问题,不影响你通过IDEA+tomcat直接运行项目。
maven的问题,需要看完整的配置才能有解决的思路。
视频3-4里有如何在IDEA里配置tomcat运行web项目的介绍。
012017-05-19 -
moocer
2017-09-11
试试按图中的方式修改一下
00 -
慕瓜2904499
2017-08-25
我这卡了好多天,这么多人出这问题,老师能不能给个明确的指导
022017-10-04
相似问题