The build is fails due to lack of resource: class com.sap.cloud.sdk.s4hana.datamodel.odata.services.BusinessPartnerService
Do we need to have/create this model classes in our project structure or will SDK take care of this static import?
Error after executing: mvn clean install
There are likely several things happening in parallel here:
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.businesspartner.BusinessPartner;
.new DefaultBusinessPartnerService()
(or you could use dependency injection). See the release-notes that Akhil already referenced.Please use the latest SDK release in your project. Info here: https://sap.github.io/cloud-s4-sdk-examples/release-notes/
This should resolve the error.
Best regards, Akhil