Forum Discussion

amitgrover8's avatar
amitgrover8
Occasional Contributor
9 years ago

Getting Unauthorized error while connecting Oracle from maven

Hi,

 

I am Getting Unauthorized error while connecting Oracle from maven. But it is working fine from UI.

 

I have followed all the steps mentioned here Oracle-Maven Docs

 

While running the test suite from Jenkins I am getting following error.

 

[ERROR] Failed to execute goal com.smartbear.soapui:soapui-maven-plugin:5.1.2-m-SNAPSHOT:test (soapUI) on project OrionAPITests: Execution soapUI of goal com.smartbear.soapui:soapui-maven-plugin:5.1.2-m-SNAPSHOT:test failed: Plugin com.smartbear.soapui:soapui-maven-plugin:5.1.2-m-SNAPSHOT or one of its dependencies could not be resolved: Failed to collect dependencies at com.smartbear.soapui:soapui-maven-plugin:jar:5.1.2-m-SNAPSHOT -> com.oracle:ojdbc6:jar:11.2.0.4.0: Failed to read artifact descriptor for com.oracle:ojdbc6:jar:11.2.0.4.0: Could not transfer artifact com.oracle:ojdbc6:pom:11.2.0.4.0 from/to maven.oracle.com (https://maven.oracle.com): Not authorized , ReasonPhrase:Authorization Required. -> [Help 1]

2 Replies