项目启动问题

提问 未结
1 25
L
L 4天前
悬赏:20飞吻
版本:JeeWeb V 浏览器:
小白一枚,请教各位大神,第一次导入的时候可以启动,之后用mvn clean package -Dmaven.test.skip=true,想打包发布,打包成功了,但项目就启动不了了,而且JAR包也是不能用的。环境是:elipse。报错如下: [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for cn.jeeweb:jeeweb-admin:jar:1.0.4.RELEASE [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: cn.jeeweb:jeeweb-common-oss:jar -> duplicate declaration of version ${project.parent.version} @ line 37, column 21 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: cn.jeeweb:jeeweb-common-quartz:jar -> duplicate declaration of version ${project.parent.version} @ line 64, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] jeeweb-web [pom] [INFO] jeeweb-generator [jar] [INFO] jeeweb-admin [jar] [INFO] jeeweb-bbs [jar] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] jeeweb-web 1.0.4.RELEASE ........................... SKIPPED [INFO] jeeweb-generator ................................... SKIPPED [INFO] jeeweb-admin ....................................... SKIPPED [INFO] jeeweb-bbs 1.0.4.RELEASE ........................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.434 s [INFO] Finished at: 2018-11-08T17:56:05+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [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/NoGoalSpecifiedException
回帖
  • 白猫
    3天前
    好的 谢谢了,Eclipse我们确实没有测试部署的问题。我测试之后回复! 在Idea中没有这个问题
    0 回复