title: Intellij “java: package org.junit does not exist”
body: <p><em>FULL DISCLOSURE:</em>
  I know this question has been asked before, but no previous answers actually solved my problem. <strong>Do not mark as duplicate please <a href="https://stackoverflow.com/questions/29749334/intellij-java-package-org-junit-does-not-exist">the answer in this question does not actually solve my problem.</a></strong></p>
  
  <p>I currently have 3 separate projects that use IntelliJ, one each for 3 different university courses. On one of them, JUnit testing works just fine without any issues. On the second project I haven't had to do any JUnit testing so I don't know whether or not it works on there. On a new project I created, it doesn't work at all and gives me about 50 errors all along the lines of <code>java: package org.junit does not exist</code>.</p>
  
  <p>I saw <a href="https://stackoverflow.com/questions/29749334/intellij-java-package-org-junit-does-not-exist">this question</a> and followed the steps in the accepted answer to try and fix the problem. My project dependencies now looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/orTWV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/orTWV.png" alt="enter image description here"></a></p>
  
  <p>I still get that error. My project directory looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/RWEi9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RWEi9.png" alt="enter image description here"></a></p>
  
  <p>Do I have to change the scope of the <code>.jar</code> files or the <code>JUnit5.2</code> modules? My other project that JUnit is "accepted" on currently has <code>JUnit5.0</code> listed in the modules page, and it shows up twice- once with the scope set to <code>Compile</code> and once with the scope set to <code>Test</code>. Is there a huge difference between JUnit5.0 and JUnit5.2 and how they work? Do I have to add JUnit5.2 again but with the <code>Compile</code> scope? If so, how?</p>
  
  <p><a href="https://stackoverflow.com/questions/23734774/when-adding-jar-module-android-must-not-contain-source-root?noredirect=1&amp;lq=1">This question</a> doesn't work either since it has to do with Android development and from what I can tell they have their project(s) set up completely different from me.</p>