sap-tutorials / Tutorials

Tutorials on sap.com
https://developers.sap.com/tutorial-navigator.html
Creative Commons Attribution 4.0 International
719 stars 773 forks source link

Connect to OData Service on Cloud Foundry Using SAP Cloud SDK #4450

Closed agl-phenr closed 4 years ago

agl-phenr commented 4 years ago

Tutorial URL: https://developers.sap.com/tutorials/s4sdk-odata-service-cloud-foundry.html

Please specify the step you are referring to step 10 - Systems.yml and credentials.

Hi gurus, I am stuck at the end of step 10 as running mvn test. The error is described below:

Compilation failure [ERROt] /C:/simpleCFApp/integration-tests/src/test/java/com/sap/cloud/sdk/tutorial/BusinessPartnerServletTest.java:[5,33] package io.restassured.module.jsv does not exist

As a matter of fact, I know that dependencies do not match, but I kept them from changing as suggested by tutorial because the actual dependency was generated via Archetype, thus I was wondering maybe my version was the most up to date.

I am attaching the project tree and the log.

BR, Pietro

mvn test log.txt

simpleCFApp - Copy.zip

MatKuhr commented 4 years ago

Hi Pietro, the dependency introduced in step 7 needs to be added to the pom. It is needed for the test code that follows. But since the archetype does not need the dependency it doesn’t bring it on its own.

agl-phenr commented 4 years ago

Hi @MatKuhr,

Issue fixed. Thanks a lot again :)

Pietro