{"action":"opened","issue":{"url":"https://api.github.com/repos/vigoo/scalafxml/issues/15","labels_url":"https://api.github.com/repos/vigoo/scalafxml/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/vigoo/scalafxml/issues/15/comments","events_url":"https://api.github.com/repos/vigoo/scalafxml/issues/15/events","html_url":"https://github.com/vigoo/scalafxml/issues/15","id":78936992,"number":15,"title":"Can't fix the compile error \"overloaded method constructor Scene with alternatives\"","user":{"login":"ysksuzuki","id":5572688,"avatar_url":"https://avatars.githubusercontent.com/u/5572688?v=3","gravatar_id":"","url":"https://api.github.com/users/ysksuzuki","html_url":"https://github.com/ysksuzuki","followers_url":"https://api.github.com/users/ysksuzuki/followers","following_url":"https://api.github.com/users/ysksuzuki/following{/other_user}","gists_url":"https://api.github.com/users/ysksuzuki/gists{/gist_id}","starred_url":"https://api.github.com/users/ysksuzuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ysksuzuki/subscriptions","organizations_url":"https://api.github.com/users/ysksuzuki/orgs","repos_url":"https://api.github.com/users/ysksuzuki/repos","events_url":"https://api.github.com/users/ysksuzuki/events{/privacy}","received_events_url":"https://api.github.com/users/ysksuzuki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T10:38:23Z","updated_at":"2015-05-21T10:38:23Z","closed_at":null,"body":"Hello,\r\n\r\nNow I'm trying scalafxml to refer to demo programs.\r\nI'm completely stuck in the compile error bellow. I can't fix it.\r\nPlease help me.\r\n\r\nI really appreciate your help with this situation.\r\n\r\n```\r\n$ sbt assembly\r\n[info] Compiling 9 Scala sources to /home/ysksuzuki/IdeaProjects/app/target/scala-2.11/classes...\r\n[error] /home/ysksuzuki/IdeaProjects/app/src/main/scala/app/Main.scala:21: overloaded method constructor Scene with alternatives:\r\n[error]   (parent: scalafx.scene.Parent)scalafx.scene.Scene <and>\r\n[error]   (delegate: javafx.scene.Scene)scalafx.scene.Scene\r\n[error]  cannot be applied to (javafx.scene.Parent)\r\n[error]     scene = new Scene(root)\r\n[error]             ^\r\n```\r\n\r\nHere is my Main class and build.sbt.\r\nI'm using sbt 0.13.8.\r\n\r\n```scala\r\npackage app\r\n\r\nimport java.io.IOException\r\nimport scalafx.application.JFXApp\r\nimport scalafx.scene.Scene\r\nimport scalafx.scene.image.Image\r\nimport scalafxml.core.{NoDependencyResolver, FXMLView}\r\n\r\nobject Main extends JFXApp {\r\n\r\n  val resource = getClass.getResource(\"RootLayout.fxml\")\r\n  if (resource == null) {\r\n    throw new IOException(\"Cannot load resource: RootLayout.fxml\")\r\n  }\r\n\r\n  val root = FXMLView(resource, NoDependencyResolver)\r\n\r\n  stage = new JFXApp.PrimaryStage() {\r\n    title = \"APP\"\r\n    scene = new Scene(root)\r\n    icons.add(new Image(\"file:resources/images/icon.png\"))\r\n  }\r\n}\r\n```\r\n\r\n```scala\r\nimport AssemblyKeys._\r\n\r\nname := \"app\"\r\n\r\nversion := \"1.0\"\r\n\r\nscalaVersion := \"2.11.6\"\r\n\r\nlicenses := Seq(\"MIT License\" -> url(\"http://opensource.org/licenses/mit-license.php/\"))\r\n\r\nscalacOptions ++= (\r\n  \"-language:postfixOps\" ::\r\n    \"-language:implicitConversions\" ::\r\n    \"-language:higherKinds\" ::\r\n    \"-language:existentials\" ::\r\n    \"-deprecation\" ::\r\n    \"-unchecked\" ::\r\n    \"-Xlint\" ::\r\n    \"-Ywarn-unused-import\" ::\r\n    \"-Ywarn-unused\" ::\r\n    Nil\r\n  )\r\n\r\nresolvers += Opts.resolver.sonatypeReleases\r\n\r\nresolvers += Resolver.url(\"typesafe\", url(\"http://repo.typesafe.com/typesafe/ivy-releases/\"))(Resolver.ivyStylePatterns)\r\n\r\naddCompilerPlugin(\"org.scalamacros\" % \"paradise\" % \"2.0.1\" cross CrossVersion.full)\r\n\r\nlibraryDependencies ++= (\r\n    (\"org.scalafx\" %% \"scalafx\" % \"8.0.20-R6\") ::\r\n    (\"org.scalafx\" %% \"scalafxml-core-sfx8\" % \"0.2.2\") ::\r\n    (\"org.apache.httpcomponents\" % \"httpclient\" % \"4.2.1\") ::\r\n    (\"org.scala-lang.modules\" %% \"scala-xml\" % \"1.0.2\") ::\r\n    (\"com.github.scala-incubator.io\" %% \"scala-io-core\" % \"0.4.3\") ::\r\n    (\"com.github.scala-incubator.io\" %% \"scala-io-file\" % \"0.4.3\") ::\r\n    (\"com.typesafe\" % \"config\" % \"1.2.1\") ::\r\n    (\"com.typesafe.scala-logging\" %% \"scala-logging\" % \"3.1.0\") ::\r\n    (\"ch.qos.logback\" % \"logback-classic\" % \"1.0.7\") ::\r\n    (\"org.scala-sbt\" %% \"io\" % sbtVersion.value) ::\r\n    (\"org.scalatest\" % \"scalatest_2.11\" % \"2.2.1\" % \"test\") ::\r\n    Nil\r\n  )\r\n\r\nassemblySettings\r\n\r\njarName in assembly := { s\"${name.value}.jar\" }\r\n\r\n```"}}