{"action":"created","issue":{"url":"https://api.github.com/repos/sbt/sbt/issues/2958","repository_url":"https://api.github.com/repos/sbt/sbt","labels_url":"https://api.github.com/repos/sbt/sbt/issues/2958/labels{/name}","comments_url":"https://api.github.com/repos/sbt/sbt/issues/2958/comments","events_url":"https://api.github.com/repos/sbt/sbt/issues/2958/events","html_url":"https://github.com/sbt/sbt/issues/2958","id":206713767,"number":2958,"title":"object scala.runtime in compiler mirror not found.","user":{"login":"QiuMing","id":11348698,"avatar_url":"https://avatars2.githubusercontent.com/u/11348698?v=4","gravatar_id":"","url":"https://api.github.com/users/QiuMing","html_url":"https://github.com/QiuMing","followers_url":"https://api.github.com/users/QiuMing/followers","following_url":"https://api.github.com/users/QiuMing/following{/other_user}","gists_url":"https://api.github.com/users/QiuMing/gists{/gist_id}","starred_url":"https://api.github.com/users/QiuMing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QiuMing/subscriptions","organizations_url":"https://api.github.com/users/QiuMing/orgs","repos_url":"https://api.github.com/users/QiuMing/repos","events_url":"https://api.github.com/users/QiuMing/events{/privacy}","received_events_url":"https://api.github.com/users/QiuMing/received_events","type":"User","site_admin":false},"labels":[{"id":119540,"url":"https://api.github.com/repos/sbt/sbt/labels/Needinfo","name":"Needinfo","color":"444444","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-02-10T05:45:20Z","updated_at":"2018-04-03T03:25:57Z","closed_at":"2018-02-28T16:35:52Z","author_association":"NONE","body":"I an new to scala ,I get this error and could not solve it after search in google.\r\n\r\n## steps\r\n* create play2 seed project  and run\r\n```\r\nsbt new playframework/play-scala-seed.g8\r\nsbt\r\n```\r\n\r\n## problem\r\n\r\nI get  `[error] scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.`\r\n\r\n## expectation\r\n\r\n```\r\n$ sbt\r\n[info] Loading global plugins from /home/lxm/.sbt/0.13/plugins\r\n[info] Loading project definition from /home/lxm/project/scala-seed/project\r\n[info] Updating scala-seed-build\r\n[info] Resolved scala-seed-build dependencies\r\nerror: error while loading <root>, error in opening zip file\r\nscala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.\r\n\tat scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:16)\r\n\tat scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:17)\r\n\tat scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:48)\r\n\tat scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:40)\r\n\tat scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:61)\r\n\tat scala.reflect.internal.Mirrors$RootsBase.getPackage(Mirrors.scala:172)\r\n\tat scala.reflect.internal.Mirrors$RootsBase.getRequiredPackage(Mirrors.scala:175)\r\n\tat scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage$lzycompute(Definitions.scala:183)\r\n\tat scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage(Definitions.scala:183)\r\n\tat scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageClass$lzycompute(Definitions.scala:184)\r\n\tat scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageClass(Definitions.scala:184)\r\n\tat scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefaultAttr$lzycompute(Definitions.scala:1024)\r\n\tat scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefaultAttr(Definitions.scala:1023)\r\n\tat scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClasses$lzycompute(Definitions.scala:1153)\r\n\tat scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClasses(Definitions.scala:1152)\r\n\tat scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresentInBytecode$lzycompute(Definitions.scala:1196)\r\n\tat scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresentInBytecode(Definitions.scala:1196)\r\n\tat scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions.scala:1261)\r\n\tat scala.tools.nsc.Global$Run.<init>(Global.scala:1290)\r\n\tat sbt.compiler.Eval$$anon$1.<init>(Eval.scala:141)\r\n\tat sbt.compiler.Eval.run$lzycompute$1(Eval.scala:141)\r\n\tat sbt.compiler.Eval.run$1(Eval.scala:141)\r\n\tat sbt.compiler.Eval.unlinkAll$1(Eval.scala:144)\r\n\tat sbt.compiler.Eval.evalCommon(Eval.scala:153)\r\n\tat sbt.compiler.Eval.evalDefinitions(Eval.scala:122)\r\n\tat sbt.EvaluateConfigurations$.evaluateDefinitions(EvaluateConfigurations.scala:271)\r\n\tat sbt.EvaluateConfigurations$.evaluateSbtFile(EvaluateConfigurations.scala:109)\r\n\tat sbt.Load$.sbt$Load$$loadSettingsFile$1(Load.scala:775)\r\n\tat sbt.Load$$anonfun$sbt$Load$$memoLoadSettingsFile$1$1.apply(Load.scala:781)\r\n\tat sbt.Load$$anonfun$sbt$Load$$memoLoadSettingsFile$1$1.apply(Load.scala:780)\r\n\tat scala.collection.MapLike$class.getOrElse(MapLike.scala:128)\r\n\tat scala.collection.AbstractMap.getOrElse(Map.scala:58)\r\n\tat sbt.Load$.sbt$Load$$memoLoadSettingsFile$1(Load.scala:780)\r\n\tat sbt.Load$$anonfun$loadFiles$1$2.apply(Load.scala:788)\r\n\tat sbt.Load$$anonfun$loadFiles$1$2.apply(Load.scala:788)\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)\r\n\tat scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)\r\n\tat scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)\r\n\tat scala.collection.TraversableLike$class.map(TraversableLike.scala:244)\r\n\tat scala.collection.AbstractTraversable.map(Traversable.scala:105)\r\n\tat sbt.Load$.loadFiles$1(Load.scala:788)\r\n\tat sbt.Load$.discoverProjects(Load.scala:799)\r\n\tat sbt.Load$.discover$1(Load.scala:585)\r\n\tat sbt.Load$.sbt$Load$$loadTransitive(Load.scala:633)\r\n\tat sbt.Load$$anonfun$loadUnit$1.sbt$Load$$anonfun$$loadProjects$1(Load.scala:482)\r\n\tat sbt.Load$$anonfun$loadUnit$1$$anonfun$40.apply(Load.scala:485)\r\n\tat sbt.Load$$anonfun$loadUnit$1$$anonfun$40.apply(Load.scala:485)\r\n\tat sbt.Load$.timed(Load.scala:1025)\r\n\tat sbt.Load$$anonfun$loadUnit$1.apply(Load.scala:485)\r\n\tat sbt.Load$$anonfun$loadUnit$1.apply(Load.scala:459)\r\n\tat sbt.Load$.timed(Load.scala:1025)\r\n\tat sbt.Load$.loadUnit(Load.scala:459)\r\n\tat sbt.Load$$anonfun$25$$anonfun$apply$14.apply(Load.scala:311)\r\n\tat sbt.Load$$anonfun$25$$anonfun$apply$14.apply(Load.scala:310)\r\n\tat sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:91)\r\n\tat sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:90)\r\n\tat sbt.BuildLoader.apply(BuildLoader.scala:140)\r\n\tat sbt.Load$.loadAll(Load.scala:365)\r\n\tat sbt.Load$.loadURI(Load.scala:320)\r\n\tat sbt.Load$.load(Load.scala:316)\r\n\tat sbt.Load$.load(Load.scala:305)\r\n\tat sbt.Load$$anonfun$4.apply(Load.scala:146)\r\n\tat sbt.Load$$anonfun$4.apply(Load.scala:146)\r\n\tat sbt.Load$.timed(Load.scala:1025)\r\n\tat sbt.Load$.apply(Load.scala:146)\r\n\tat sbt.Load$.defaultLoad(Load.scala:39)\r\n\tat sbt.BuiltinCommands$.liftedTree1$1(Main.scala:496)\r\n\tat sbt.BuiltinCommands$.doLoadProject(Main.scala:496)\r\n\tat sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:488)\r\n\tat sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:488)\r\n\tat sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:59)\r\n\tat sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:59)\r\n\tat sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:61)\r\n\tat sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:61)\r\n\tat sbt.Command$.process(Command.scala:93)\r\n\tat sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)\r\n\tat sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)\r\n\tat sbt.State$$anon$1.process(State.scala:184)\r\n\tat sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)\r\n\tat sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)\r\n\tat sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)\r\n\tat sbt.MainLoop$.next(MainLoop.scala:96)\r\n\tat sbt.MainLoop$.run(MainLoop.scala:89)\r\n\tat sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68)\r\n\tat sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63)\r\n\tat sbt.Using.apply(Using.scala:24)\r\n\tat sbt.MainLoop$.runWithNewLog(MainLoop.scala:63)\r\n\tat sbt.MainLoop$.runAndClearLast(MainLoop.scala:46)\r\n\tat sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30)\r\n\tat sbt.MainLoop$.runLogged(MainLoop.scala:22)\r\n\tat sbt.StandardMain$.runManaged(Main.scala:57)\r\n\tat sbt.xMain.run(Main.scala:29)\r\n\tat xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)\r\n\tat xsbt.boot.Launch$.withContextLoader(Launch.scala:128)\r\n\tat xsbt.boot.Launch$.run(Launch.scala:109)\r\n\tat xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)\r\n\tat xsbt.boot.Launch$.launch(Launch.scala:117)\r\n\tat xsbt.boot.Launch$.apply(Launch.scala:18)\r\n\tat xsbt.boot.Boot$.runImpl(Boot.scala:41)\r\n\tat xsbt.boot.Boot$.main(Boot.scala:17)\r\n\tat xsbt.boot.Boot.main(Boot.scala)\r\n[error] scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.\r\n```\r\n\r\n\r\n## notes\r\n\r\n### Notes 1:\r\n\r\nMy java version and scala versoin \r\n```\r\n$ java -version\r\nopenjdk version \"1.8.0_121\"\r\nOpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13)\r\nOpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)\r\n\r\n$ scala -version\r\ncat: /usr/lib/jvm/java-8-openjdk-amd64/release: No such file or directory\r\nScala code runner version 2.12.1 -- Copyright 2002-2016, LAMP/EPFL and Lightbend, Inc.\r\n```\r\n\r\n### Notes 2\r\nLooking form http://stackoverflow.com/questions/23317326/trying-to-cross-compile-a-project-to-scala-2-11-fails-with-error-while-loading,  I add \r\n```\r\nlibraryDependencies += \"org.scala-lang\" % \"scala-library\" % \"2.11.8\"\r\n\r\n```\r\n\r\nAnd now my buikd.sbt file\r\n```\r\nname := \"\"\"scala-seed\"\"\"\r\norganization := \"com.ming\"\r\n\r\nversion := \"1.0-SNAPSHOT\"\r\n\r\nlazy val root = (project in file(\".\")).enablePlugins(PlayScala)\r\n\r\nscalaVersion := \"2.11.8\"\r\nlibraryDependencies += \"org.scala-lang\" % \"scala-library\" % \"2.11.8\"\r\n\r\nlibraryDependencies += filters\r\nlibraryDependencies += \"org.scalatestplus.play\" %% \"scalatestplus-play\" % \"1.5.1\" % Test\r\n\r\n// Adds additional packages into Twirl\r\n//TwirlKeys.templateImports += \"com.ming.controllers._\"\r\n\r\n// Adds additional packages into conf/routes\r\n// play.sbt.routes.RoutesKeys.routesImport += \"com.ming.binders._\"\r\n\r\n```\r\n\r\n### Notes 3 \r\nI hava install  coursier plugin in ~/.sbt/0.13/plugins/build.sbt\r\n```\r\naddSbtPlugin(\"io.get-coursier\" % \"sbt-coursier\" % \"1.0.0-M15\")\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sbt/sbt/issues/comments/378116752","html_url":"https://github.com/sbt/sbt/issues/2958#issuecomment-378116752","issue_url":"https://api.github.com/repos/sbt/sbt/issues/2958","id":378116752,"user":{"login":"SethTisue","id":161079,"avatar_url":"https://avatars0.githubusercontent.com/u/161079?v=4","gravatar_id":"","url":"https://api.github.com/users/SethTisue","html_url":"https://github.com/SethTisue","followers_url":"https://api.github.com/users/SethTisue/followers","following_url":"https://api.github.com/users/SethTisue/following{/other_user}","gists_url":"https://api.github.com/users/SethTisue/gists{/gist_id}","starred_url":"https://api.github.com/users/SethTisue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SethTisue/subscriptions","organizations_url":"https://api.github.com/users/SethTisue/orgs","repos_url":"https://api.github.com/users/SethTisue/repos","events_url":"https://api.github.com/users/SethTisue/events{/privacy}","received_events_url":"https://api.github.com/users/SethTisue/received_events","type":"User","site_admin":false},"created_at":"2018-04-03T03:25:57Z","updated_at":"2018-04-03T03:25:57Z","author_association":"CONTRIBUTOR","body":"@eximius313 I’m sorry, I don’t know. my usual suggestion would be to try to reproduce the problem outside Eclipse, but I understand that might be difficult if you’re new to the language. I don’t know Eclipse stuff"}}
{"actor":{"display_login":"SethTisue"}}