on 2023 Jan 16 7:46 PM
Tutorials: https://developers.sap.com/tutorials/cp-cap-java-service-reuse.html
--------------------------
I can run the products-service independently without issue via mvn spring-boot:run from the projects/products-service path in the terminal session.
products-service/index.cds is as required.
After bookstore reuse steps 1-5 of tutorial,
I am sure I have the csv names correct and in the right places.
,via terminal at projects/bookstore using mvn spring-boot:run the build fails.
Maven gives no details of why the reactor step bookstore fails.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for bookstore parent 1.0.0-SNAPSHOT:
[INFO]
[INFO] bookstore parent ................................... SUCCESS [ 2.038 s]
[INFO] bookstore .......................................... FAILURE [ 4.557 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.966 s
[INFO] Finished at: 2023-01-16T19:34:01Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.sap.cds:cds-maven-plugin:1.30.1:cds (cds.build) on project bookstore: Process exited with an error: 1 (Exit value: 1) -> [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 <args> -rf :bookstore
Request clarification before answering.
Facing a similar issue in step 6 - run the application using SAP HANA locally
https://developers.sap.com/tutorials/cp-cap-java-hana-db.html
[ERROR] CdsMojo: [ERROR] SQLITE_CANTOPEN: unable to open database file
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for bookstore parent 1.0.0-SNAPSHOT:
[INFO]
[INFO] bookstore parent ................................... SUCCESS [ 1.408 s]
[INFO] bookstore .......................................... FAILURE [ 8.088 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.853 s
[INFO] Finished at: 2023-01-23T16:41:54Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.sap.cds:cds-maven-plugin:1.30.1:cds (cds.build) on project bookstore: Process exited with an error: 1 (Exit value: 1) -> [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 <args> -rf :bookstore
Followed all the steps in the tutorial. This step is where I am getting this error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
58 | |
8 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.