title: When building Scala(2.7.0) maven project getting error "error while loading Consumer" with Java 8 in IntelliJ
body: <p>When building Scala maven project getting error:</p>
  
  <pre><code>error while loading Consumer, class file 'C:\jdk1.8.0_181\jre\lib\rt.jar(java/util/function/Consumer.class)' is broken
  </code></pre>