java.lang.NoSuchMethodError: scala.Option.contains(Ljava/lang/Object;)Z

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via jetbrains.com by Unknown author, 1 year ago
via jetbrains.com by Unknown author, 1 year ago
java.lang.NoSuchMethodError: scala.Option.contains(Ljava/lang/Object;)Z
at com.intellij.scala.play.jpsSupport.playutil.Play2JPSUtil$ManifestHandler.checkAttribute(Play2JPSUtil.scala:60)
at com.intellij.scala.play.jpsSupport.playutil.Play2JPSUtil$.com$intellij$scala$play$jpsSupport$playutil$Play2JPSUtil$$checkIsPlayJar(Play2JPSUtil.scala:68)
at com.intellij.scala.play.jpsSupport.playutil.Play2JPSUtil$$anonfun$smartGuessPlay2Home$1$$anonfun$apply$7$$anonfun$apply$8.apply(Play2JPSUtil.scala:204)
at com.intellij.scala.play.jpsSupport.playutil.Play2JPSUtil$$anonfun$smartGuessPlay2Home$1$$anonfun$apply$7$$anonfun$apply$8.apply(Play2JPSUtil.scala:204)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at com.intellij.scala.play.jpsSupport.playutil.Play2JPSUtil$$anonfun$smartGuessPlay2Home$1$$anonfun$apply$7.apply(Play2JPSUtil.scala:204)
at com.intellij.scala.play.jpsSupport.playutil.Play2JPSUtil$$anonfun$smartGuessPlay2Home$1$$anonfun$apply$7.apply(Play2JPSUtil.scala:204)
at scala.Option.foreach(Option.scala:236)
at com.intellij.scala.play.jpsSupport.playutil.Play2JPSUtil$$anonfun$smartGuessPlay2Home$1.apply(Play2JPSUtil.scala:203)
at com.intellij.scala.play.jpsSupport.playutil.Play2JPSUtil$$anonfun$smartGuessPlay2Home$1.apply(Play2JPSUtil.scala:201)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at com.intellij.scala.play.jpsSupport.playutil.Play2JPSUtil$.smartGuessPlay2Home(Play2JPSUtil.scala:201)
at com.intellij.scala.play.jpsSupport.playutil.Play2JPSUtil.smartGuessPlay2Home(Play2JPSUtil.scala)
at com.intellij.scala.play.jpsSupport.ExcludeJavaBuilderProvider.isExcludedFromCompilation(ExcludeJavaBuilderProvider.java:16)
at org.jetbrains.jps.builders.impl.BuildRootIndexImpl.addRoots(BuildRootIndexImpl.java:72)
at org.jetbrains.jps.builders.impl.BuildRootIndexImpl.(BuildRootIndexImpl.java:62)
at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:76)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:198)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:113)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:133)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.