# Failed to build RL4J with erros

**URL:** <https://community.konduit.ai/t/failed-to-build-rl4j-with-erros/2041>\
**Category:** RL4J\
**Created:** [October 14, 2022, 2:54pm UTC](https://community.konduit.ai/t/failed-to-build-rl4j-with-erros/2041 "2022-10-14T14:54:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TempKonduitUser1](https://avatars.discourse-cdn.com/v4/letter/t/76d3ee/32.png) [@TempKonduitUser1](https://community.konduit.ai/u/TempKonduitUser1)\
**Post date:** [October 14, 2022, 2:54pm UTC](https://community.konduit.ai/t/failed-to-build-rl4j-with-erros/2041/1 "2022-10-14T14:54:29Z")

</div>

Have followed the direction from here: [[GitHub - rubenfiszel/rl4j: Deep Reinforcement Learning for the JVM (Deep-Q, A3C)](https://github.com/rubenfiszel/rl4j)]([https://rubenfisze](https://rubenfisze)’s RL4J), by run the following command:  
_mvn install -pl rl4j-api_  
in the githubed directory but reported the following error:  
_[INFO] Scanning for projects…_  
_[INFO]_  
_[INFO] --------------------\< org.deeplearning4j:rl4j-api \>---------------------_  
_[INFO] Building rl4j-api 0.9.2-SNAPSHOT_  
_[INFO] --------------------------------[jar]---------------------------------_  
_[INFO] ------------------------------------------------------------------------_  
_[INFO] BUILD FAILURE_  
_[INFO] ------------------------------------------------------------------------_  
_[INFO] Total time: 0.772 s_  
_[INFO] Finished at: 2022-10-14T22:39:04+08:00_  
_[INFO] ------------------------------------------------------------------------_  
_[ERROR] Failed to execute goal on project rl4j-api: Could not resolve dependencies for project org.deeplearning4j:rl4j-api:jar:0.9.2-SNAPSHOT: org.nd4j:nd4j-native:jar:windows-x86\_64:0.9.2-SNAPSHOT was not found in [https://oss.sonatype.org/content/repositories/snapshots](https://oss.sonatype.org/content/repositories/snapshots) during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced → [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] [DependencyResolutionException - Apache Maven - Apache Software Foundation](http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException)_  
What could be the cause? Or could anyone please inform me if there is a repo of RL4J that could be successfully buit? Thanks in advance!
