cancel
Showing results for 
Search instead for 
Did you mean: 

when I run mvn clean package in cmd , build is failing with below error .. please help

0 Kudos

I'm trying to deploy mavenized project API that's connecting from SAP to SFDC , when I run mvn clean package in cmd , build is failing with below error ..

I have set my classpaths and home paths correctly and SAPJCO3 -\.m2\repository\com\sap\conn\jco\com.sap.conn.jco.sapjco3\3.0.19 ..please suggest

Downloading from : https://maven.anypoint.mulesoft.com/api/v2/maven/com/sap/conn/jco/libsapjco3/3.0.19/libsapjco3-3.0.1...

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 5.658 s

[INFO] Finished at: 2022-10-28T21:10:40+05:30

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project bc-prc-sfdc-sap-bundle-b: Could not resolve dependencies for project com.bc:bc-prc-sfdc-sap-bundle-b:mule-application:1.0.0-SNAPSHOT: Could not transfer artifact com.sap.conn.jco:libsapjco3:dll:external-library:3.0.19 from/to anypoint-exchange (https://maven.anypoint.mulesoft.com/api/v2/organizations/8d2fe5cd-a9de-49b9-a5-259698c582e8/maven): transfer failed for https://maven.anypoint.mulesoft.com/api/v2/organizations/8d2fe5cd-a9de-49b9-a5-259698c582e8/maven/co..., status: 400 Bad Request -> [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.

Former Member
0 Kudos

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with: https://community.sap.com/resources/questions-and-answers, as it provides tips for preparing questions that draw responses from our members.

For example, you can:

- outline what steps you took to find answers (and why they weren't helpful)

- share screenshots of what you've seen/done

- make sure you've applied the appropriate tags

- use a more descriptive subject line

The more details you provide, the more likely it is that members will be able to respond. Feel free to also take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html

Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your profile you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html
Questions on how to draw responses from members? Check out this discussion on how to improve questions. https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-a...

Accepted Solutions (0)

Answers (0)