开发者社区> 问答> 正文

IDEA 报错:no tests were found

IDEA 报错:no tests were found 和 UnsupportedOperationException,该怎么解决?```Error:Internal error: (java.lang.UnsupportedOperationException) empty.min java.lang.UnsupportedOperationException: empty.min at scala.collection.TraversableOnce.min(TraversableOnce.scala:225) at scala.collection.TraversableOnce.min$(TraversableOnce.scala:223) at scala.collection.AbstractTraversable.min(Traversable.scala:108) at org.jetbrains.jps.incremental.scala.ScalaCompilerReferenceIndexBuilder.getTargetTimestamps(ScalaCompilerReferenceIndexBuilder.scala:53) at org.jetbrains.jps.incremental.scala.ScalaCompilerReferenceIndexBuilder.getAllClassesInfo(ScalaCompilerReferenceIndexBuilder.scala:99) at org.jetbrains.jps.incremental.scala.ScalaCompilerReferenceIndexBuilder.buildFinished(ScalaCompilerReferenceIndexBuilder.scala:33) at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:468) at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:190) at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:138) at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:297) at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:130) at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:218) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)

展开
收起
人间蜉蝣 2021-10-27 21:06:32 1653 0
0 条回答
写回答
取消 提交回答
问答地址:
问答排行榜
最热
最新

相关电子书

更多
蚂蚁金服高级开发工程师萧恺:IDEA 插件开发入门教程 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载