cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

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

0 Kudos
965

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.

Accepted Solutions (0)

Answers (0)