bx dev build --debug成功完成,但无法运行bx dev run

时间:2018-02-22 21:58:23

标签: ibm-cloud ibm-cloud-tools

我可以成功运行bx dev build并使用bx dev run在本地成功运行我的容器。

当我执行bx dev build --debug --trace时,我成功完成,并且我的单元测试通过了。但是,在我执行bx dev run后立即获得:

  

FAILED   在运行bx dev run之前,需要成功构建项目。在尝试bx dev run

之前,验证bx dev build是否成功完成

调试版本中似乎有些东西阻碍了我,但它完成了成功。有什么想法吗?下面我的调试跟踪的尾端(完整跟踪打破了char限制):

Results :


Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] 

[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ gapstrainingbff ---
[INFO] Building jar: /project/target/gapstrainingbff-1.0-SNAPSHOT.jar
[INFO] 

[INFO] --- spring-boot-maven-plugin:1.5.4.RELEASE:repackage (default) @ gapstrainingbff ---

[INFO] 

[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ gapstrainingbff ---

[INFO] Installing /project/target/gapstrainingbff-1.0-SNAPSHOT.jar to /project/.m2/repository/projects/gapstrainingbff/1.0-SNAPSHOT/gapstrainingbff-1.0-SNAPSHOT.jar
[INFO] Installing /project/pom.xml to /project/.m2/repository/projects/gapstrainingbff/1.0-SNAPSHOT/gapstrainingbff-1.0-SNAPSHOT.pom

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

[INFO] BUILD SUCCESS

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

[INFO] Total time: 54.659 s

[INFO] Finished at: 2018-02-22T21:39:29+00:00

[INFO] Final Memory: 19M/31M
[INFO] ------------------------------------------------------------------------

OK
Process time: 57.911463s
Stopping the 'bx-dev-gapstrainingbff-tools' container...
OK
acmartinez@Andreas-MacBook-Air gaps-training-bff $ idt run
FAILED
A successful build of the project is required before running bx dev run. Verify that bx dev build completes successfully before attempting bx dev run

acmartinez@Andreas-MacBook-Air gaps-training-bff $ 

0 个答案:

没有答案