1 详细异常
error: error while loading Object, Missing dependency 'class scala.reflect.ScalaSignature in compiler mirror', required by /Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home(java/lang/Object.class) error: scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found. at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:17) at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:18)
error: error while loading Object, Missing dependency 'class scala.reflect.ScalaSignature in compiler mirror', required by /Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home(java/lang/Object.class) error: scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found. at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:17) at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:18) 右边爆红,显示是maven-scala-plugin 报错 怀疑是scala插件的问题,然后重新删除maven依赖插件,重新构建,还是不行 项目中添加了scala的依赖包,解决爆红,重新构建 最后参考博客 https://blog.csdn.net/q2365921/article/details/98653920 jdk错误,自己重新添加正确的jdk依赖解决问题