# Module conflicts when loading gradle project into Intellij

**URL:** <https://discuss.gradle.org/t/module-conflicts-when-loading-gradle-project-into-intellij/30032>\
**Category:** Help/Discuss\
**Created:** [January 2, 2019, 8:08am UTC](https://discuss.gradle.org/t/module-conflicts-when-loading-gradle-project-into-intellij/30032 "2019-01-02T08:08:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![domcc](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@domcc](https://discuss.gradle.org/u/domcc)\
**Post date:** [January 2, 2019, 8:08am UTC](https://discuss.gradle.org/t/module-conflicts-when-loading-gradle-project-into-intellij/30032/1 "2019-01-02T08:08:46Z")

</div>

When loading a gradle project into Intellij it is failing with the error:  
A conflict was found between the following modules:  
- org.apache.avro:avro:1.7.7  
- org.apache.avro:avro:1.8.1  
Run with:  
–scan or  
:Prism:dependencyInsight --configuration runtimeClasspath --dependency org.apache.avro:avro  
to get more insight on how to solve the conflict.

When running ‘gradle projects’ or gradle compileTestJava outside IntelliJ (via command line) it works. When running ‘gradle distTar’ via the command line it fails with the same error.

Does anyone know why this failure happens at different points inside and outside Intellij?
