从GitHub导入项目后,获取maven依赖错误
Following the S4HANA Cloud SDK SAP Press book exercises. After importing the project into intellij IDE, it thorows maven dependency errors. Here are the steps-
1. Download the project to do unit test. Link: https://github.com/SAP/cloud-s4-sdk-book/tree/course/2_5_testing
2. Imported the project into IntelliJIDE
3. Renamed the folder to address-manager (from cloud-s4-sdk-book-course-2_5_testing)
4. After importing went to the folder address-manager --> unit-tests --> src ---> test --> java --> com.sap.cloud.s4hana.examples.addressmgr --> commands --> GetAllBusinessPartnersCommandTest在此之后,只要我们现在打开命令,我们就会得到这些依赖错误,所有像google,sdk等的代码都变红了,无法识别。
发布于 2019-05-28 15:40:06
上面提到的工件可以在here上找到。所以你要么有设置问题,要么有连接问题。
请确保:
我还建议参考Maven文档以获得进一步的帮助:https://maven.apache.org/guides/
最后,请确保使用最新版本的SDK。
https://stackoverflow.com/questions/56326949
复制相似问题