Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2013
    Posts
    4
    Rep Power
    0

    Question Couldn't add dependencies to pom.xml

    can anyone hep me out with this please.

    Downloading: http://repo.maven.apache.org/maven2/...11.2.0.3.0.pom

    ------------------------------------------------------------------------
    BUILD FAILURE
    ------------------------------------------------------------------------
    Total time: 19.187s
    Finished at: Wed Jun 18 09:21:56 SAST 2014
    Final Memory: 6M/118M
    ------------------------------------------------------------------------
    Failed to execute goal on project daily_checks: Could not resolve dependencies for project com.project:jar:0.0.1-SNAPSHOT: Failed to collect dependencies for [org.apache.poi:poi:jar:3.7 (compile), org.apache.poi:poi-ooxml:jar:3.7 (compile), joda-time:joda-time:jar:2.3 (compile), com.jcraft:jsch:jar:0.1.50 (compile), javax.mail:mail:jar:1.4.7 (compile), log4j:log4j:jar:1.2.17 (compile), com.oracle:ojdbc6:jar:11.2.0.3.0 (compile)]: Failed to read artifact descriptor for com.oracle:ojdbc6:jar:11.2.0.3.0: Could not transfer artifact com.oracle:ojdbc6:pom:11.2.0.3.0 from/to codelds (https://code.lds.org/nexus/content/groups/main-repo): Not authorized by proxy , ReasonPhrase:Proxy Access Denied. -> [Help 1]

    To see the full stack trace of the errors, re-run Maven with the -e switch.
    Re-run Maven using the -X switch to enable full debug logging.

    For more information about the errors and possible solutions, please read the following articles:
    [Help 1] http://cwiki.apache.org/confluence/d...utionException

    I've added in pom.xml like..,
    <dependency>
    <groupId>com.oracle</groupId>
    <artifactId>ojdbc6</artifactId>
    <version>11.2.0.3.0</version>
    </dependency>

    But i couldn't add ojdbc dependency to the project.

    Thanks & Regards,
    Prady.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,015
    Rep Power
    20

    Default Re: Couldn't add dependencies to pom.xml

    "Not authorized by proxy , ReasonPhrase:Proxy Access Denied"

    Sounds like your proxy is blocking that repo?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    Join Date
    Aug 2013
    Posts
    4
    Rep Power
    0

    Default Re: Couldn't add dependencies to pom.xml

    Hi Tolls,

    Thanx for your reply and I have resolved that issue by adding repositories in pom.xml, the .jar file is automatically added.

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,030
    Rep Power
    6

    Default Re: Couldn't add dependencies to pom.xml

    I fear that you only made the problem go away and it may come back sooner or later, but that's a bridge you'll have to cross when it happens.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. I have Compile error but I couldn't fix it
    By Wishes in forum New To Java
    Replies: 25
    Last Post: 11-26-2010, 06:30 PM
  2. couldn't find main class
    By demonoid in forum New To Java
    Replies: 6
    Last Post: 10-10-2010, 02:44 AM
  3. [SOLVED] couldn't find a way
    By tOpach in forum New To Java
    Replies: 2
    Last Post: 12-17-2008, 12:00 AM
  4. I couldn’t figure out how to do this please help!
    By afrttoh in forum New To Java
    Replies: 5
    Last Post: 11-19-2008, 08:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •