# Opening the source code in IntelliJ

**URL:** <https://community.konduit.ai/t/opening-the-source-code-in-intellij/1605>\
**Category:** DL4J\
**Created:** [September 16, 2021, 7:05am UTC](https://community.konduit.ai/t/opening-the-source-code-in-intellij/1605 "2021-09-16T07:05:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fubuki](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@fubuki](https://community.konduit.ai/u/fubuki)\
**Post date:** [September 16, 2021, 7:05am UTC](https://community.konduit.ai/t/opening-the-source-code-in-intellij/1605/1 "2021-09-16T07:05:32Z")

</div>

I’m trying to add some new functions to DL4J for research purpose, but when I opened the source code project in IntelliJ and tried to build it, it throws many errors even if I had ignored the modules under nd4j-shade. The errors are like “Unresolved reference: onnx”, “Unresolved reference: framework” and etc. Could someone please provide instructions for developing DL4J in IntelliJ?  
I sincerely appreciate for your help.

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [September 16, 2021, 7:42am UTC](https://community.konduit.ai/t/opening-the-source-code-in-intellij/1605/2 "2021-09-16T07:42:28Z")

</div>

> [@fubuki](#):
>
> esearch purpose, but when I opened the source code project in IntelliJ and tried to build it, it throws many

@fubuki please see the new guide on this: [https://deeplearning4j.konduit.ai/multi-project/how-to-guides/import-in-to-your-favorite-ide](https://deeplearning4j.konduit.ai/multi-project/how-to-guides/import-in-to-your-favorite-ide) - please also let me know if you have any feedback or we are missing something. Thanks!

---

<div class="post-metadata">

**Author:** ![fubuki](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@fubuki](https://community.konduit.ai/u/fubuki)\
**Post date:** [September 16, 2021, 8:07am UTC](https://community.konduit.ai/t/opening-the-source-code-in-intellij/1605/3 "2021-09-16T08:07:53Z")

</div>

I will try the new guide and give you feedback. Thank you a lot for your help!

---

<div class="post-metadata">

**Author:** ![fubuki](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@fubuki](https://community.konduit.ai/u/fubuki)\
**Post date:** [September 17, 2021, 2:33am UTC](https://community.konduit.ai/t/opening-the-source-code-in-intellij/1605/4 "2021-09-17T02:33:49Z")

</div>

Hi, I have tried to follow the new guide to build the source code in IntelliJ, but it still throws the error when I tried to “Generate Sources and Update Folders for All Projects” in maven. The error said “Cannot connect to the Maven process. Try again later. If the problem persists, check the Maven Importing JDK settings and restart IntelliJ IDEA”. When I built the whole project, it said “Cannot resolve symbol ‘Nd4jCpu’”.

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [September 17, 2021, 2:40am UTC](https://community.konduit.ai/t/opening-the-source-code-in-intellij/1605/5 "2021-09-17T02:40:46Z")

</div>

@fubuki that is definitely not normal and not something you see very often. This is highly specific to your environment. You should just need to create a new project from existing sources following something like this guide: [Maven | IntelliJ&nbsp;IDEA](https://www.jetbrains.com/help/idea/maven-support.html)

Then from there you just wait. It can take a while to download all of the dependencies (which is what it is usually doing in the background) Then it sets up a source code index.

That might take a while depending on the configured dependencies. When it does that download, it downloads separate jars from maven central with the source code in there, reads those jars, and then puts that in intellij’s search index.
