# Compile/Test Deeplearning4j in Intellij

**URL:** <https://community.konduit.ai/t/compile-test-deeplearning4j-in-intellij/1450>\
**Category:** DL4J\
**Created:** [June 17, 2021, 3:51pm UTC](https://community.konduit.ai/t/compile-test-deeplearning4j-in-intellij/1450 "2021-06-17T15:51:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![basedrhys](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/basedrhys/32/224_2.png) [@basedrhys](https://community.konduit.ai/u/basedrhys)\
**Post date:** [June 17, 2021, 3:51pm UTC](https://community.konduit.ai/t/compile-test-deeplearning4j-in-intellij/1450/1 "2021-06-17T15:51:24Z")

</div>

I’m trying to add a new feature to DL4J so have forked my own version (off of Master) and loaded it into IntelliJ. Unfortunately, when trying to compile or run any tests, it throws an error saying it cannot find `package org.nd4j.shade.guava....`.

I found [this GitHub issue](https://github.com/eclipse/deeplearning4j/issues/8528) which ran into the same problem, but the solution `pom.xml` linked is no longer valid.

Can someone please provide an updated `pom.xml`, or set of instructions for developing DL4J in IntelliJ?

Thanks

---

<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:** [June 18, 2021, 8:51am UTC](https://community.konduit.ai/t/compile-test-deeplearning4j-in-intellij/1450/2 "2021-06-18T08:51:15Z")

</div>

@basedrhys you have to ignore the modules under nd4j-shade. It doesn’t really have anything to do with the pom declaration. The shade module just doesn’t work properly in intellij because there’s no code there. It gets dynamically generated. Ignoring it will enable you to do what you need to do.

Note the new docs for a lot of this as well:  
[https://deeplearning4j.konduit.ai/v/en-1.0.0-m1/multi-project/how-to-guides/build-from-source](https://deeplearning4j.konduit.ai/v/en-1.0.0-m1/multi-project/how-to-guides/build-from-source)

If you’re just trying to modify a subset of dl4j, you should be fine with snapshots.
