# Maven - Received status code 403 from server: Forbidden

**URL:** <https://travis-ci.community/t/maven-received-status-code-403-from-server-forbidden/4641>\
**Category:** Travis CI Discussions & Feedback\
**Tags:** java, bug\
**Created:** [August 8, 2019, 2:59pm UTC](https://travis-ci.community/t/maven-received-status-code-403-from-server-forbidden/4641 "2019-08-08T14:59:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![frextrite](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/frextrite/32/2482_2.png) [@frextrite](https://travis-ci.community/u/frextrite)\
**Post date:** [August 8, 2019, 2:59pm UTC](https://travis-ci.community/t/maven-received-status-code-403-from-server-forbidden/4641/1 "2019-08-08T14:59:12Z")

</div>

```auto
14:29:32.099 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.mockito:mockito-core:2.+.
14:29:32.099 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Required by:
14:29:32.099 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] project :
14:29:32.099 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Failed to list versions for org.mockito:mockito-core.
14:29:32.099 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Unable to load Maven meta-data from https://repo.maven.apache.org/maven2/org/mockito/mockito-core/maven-metadata.xml.
14:29:32.099 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not HEAD 'https://repo.maven.apache.org/maven2/org/mockito/mockito-core/maven-metadata.xml'. Received status code 403 from server: Forbidden

```

Getting 403 Forbidden recently on OpenJDK 11 builds on Travis for some strange reason. OpenJDK 12 works fine.

Build Log error line: [https://travis-ci.org/frextrite/coala-jetbrains/jobs/569380032#L4180](https://travis-ci.org/frextrite/coala-jetbrains/jobs/569380032#L4180) and another [https://travis-ci.org/frextrite/coala-jetbrains/jobs/569293740#L4186](https://travis-ci.org/frextrite/coala-jetbrains/jobs/569293740#L4186)

Looks like a Travis issue since the problem is only with OopenJDK 11 build.
