java.lang.ClassCastException: org.jetbrains.jps.builders.java.dependencyView.TypeRepr$ArrayType cannot be cast to org.jetbrains.jps.builders.java.dependencyView.TypeRepr$ClassType
运行idea启动项目突然报错,之前还可以启动,没有任何更改,突然报错:
java.lang.ClassCastException: org.jetbrains.jps.builders.java.dependencyView.TypeRepr$ArrayType cannot be cast to org.jetbrains.jps.builders.java.dependencyView.TypeRepr$ClassType
解决方案:
Goto menu option “Build” -> “Rebuild project”
Goto menu “File” -> “Invalidate caches / Restart…” -> “Invalidate and Restart”.
努力!奋斗!
VENI VIDI VICI!