首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Maven依赖错误

Maven依赖错误
EN

Stack Overflow用户
提问于 2019-05-27 21:21:57
回答 1查看 124关注 0票数 0

从GitHub导入项目后,获取maven依赖错误

代码语言:javascript
运行
复制
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等的代码都变红了,无法识别。

EN

回答 1

Stack Overflow用户

发布于 2019-05-28 15:40:06

上面提到的工件可以在here上找到。所以你要么有设置问题,要么有连接问题。

请确保:

  • 您的POM文件不包含任何语法错误
  • 您可以连接到Maven Central (可能需要检查您的代理设置)

我还建议参考Maven文档以获得进一步的帮助:https://maven.apache.org/guides/

最后,请确保使用最新版本的SDK。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56326949

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档