title: Error while importing sbt project: string.class is broken
body: <p>Using the sbt tool I created a new project. I imported the project into Intellij. Then when I try to add the plugin PlayEbean I get this error:</p>
  
  <pre><code>error: error while loading String, class file '/modules/java.base/java/lang/String.class' is broken.
  </code></pre>
  
  <p>Here's the whole error, kinda long so I didn't wanna post it here <a href="https://pastebin.com/embed_js/ekPN4nFv" rel="noreferrer">https://pastebin.com/embed_js/ekPN4nFv</a></p>
  
  <p>Anyone know what I can do to fix this?</p>
  
  <p>Here's the plugins.sbt file:</p>
  
  <pre><code>// The Play plugin
  addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.7.3")
  
  // Defines scaffolding (found under .g8 folder)
  // http://www.foundweekends.org/giter8/scaffolding.html
  // sbt "g8Scaffold form"
  addSbtPlugin("org.foundweekends.giter8" % "sbt-giter8-scaffold" % "0.11.0")
  addSbtPlugin("com.typesafe.sbt" % "sbt-play-ebean" % "5.0.0")
  </code></pre>
  
  <p>Here's the build.sbt file:</p>
  
  <pre><code>name := """consulting-services-inc"""
  organization := "com.myName"
  
  version := "1.0-SNAPSHOT"
  
  lazy val root = (project in file(".")).enablePlugins(PlayJava,PlayEbean)
  
  scalaVersion := "2.13.0"
  
  libraryDependencies += guice
  libraryDependencies += javaCore
  </code></pre>