# Source Build Error

**URL:** <https://forum.keycloak.org/t/source-build-error/11401>\
**Category:** Configuring the server\
**Created:** [October 7, 2021, 6:35pm UTC](https://forum.keycloak.org/t/source-build-error/11401 "2021-10-07T18:35:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andyblem](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/andyblem/32/4083_2.png) [@Andyblem](https://forum.keycloak.org/u/Andyblem)\
**Post date:** [October 7, 2021, 6:35pm UTC](https://forum.keycloak.org/t/source-build-error/11401/1 "2021-10-07T18:35:31Z")

</div>

I installed the required components to run KeyCloak. I downloaded the source but when I run the `mvn clean install` command, I get this error.

```auto

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:14 min
[INFO] Finished at: 2021-10-07T20:26:19+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project keycloak-server-spi-private: There are test failures.
[ERROR]
[ERROR] Please refer to E:\Projects\Personal\Web\keycloak\server-spi-private\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [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.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :keycloak-server-spi-private

```

How do I fix this?

---

<div class="post-metadata">

**Author:** ![anguyen1](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@anguyen1](https://forum.keycloak.org/u/anguyen1)\
**Post date:** [December 20, 2022, 2:46pm UTC](https://forum.keycloak.org/t/source-build-error/11401/2 "2022-12-20T14:46:40Z")

</div>

Hi there,

Did you figure this out? I have the same issue.

Thanks,  
Alex
