{"action":"closed","issue":{"url":"https://api.github.com/repos/twitter/finatra/issues/332","repository_url":"https://api.github.com/repos/twitter/finatra","labels_url":"https://api.github.com/repos/twitter/finatra/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/twitter/finatra/issues/332/comments","events_url":"https://api.github.com/repos/twitter/finatra/issues/332/events","html_url":"https://github.com/twitter/finatra/issues/332","id":159028959,"number":332,"title":"error after move my project of computer: object http is not a member of package com.twitter.finatra","user":{"login":"cocodrino","id":616412,"avatar_url":"https://avatars.githubusercontent.com/u/616412?v=3","gravatar_id":"","url":"https://api.github.com/users/cocodrino","html_url":"https://github.com/cocodrino","followers_url":"https://api.github.com/users/cocodrino/followers","following_url":"https://api.github.com/users/cocodrino/following{/other_user}","gists_url":"https://api.github.com/users/cocodrino/gists{/gist_id}","starred_url":"https://api.github.com/users/cocodrino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocodrino/subscriptions","organizations_url":"https://api.github.com/users/cocodrino/orgs","repos_url":"https://api.github.com/users/cocodrino/repos","events_url":"https://api.github.com/users/cocodrino/events{/privacy}","received_events_url":"https://api.github.com/users/cocodrino/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-07T21:28:12Z","updated_at":"2016-06-07T22:13:39Z","closed_at":"2016-06-07T22:13:39Z","body":"Hi, I've a weird (for me) error, I had a project in other machine and it was working fine but now I've migrate that code to other machine, I resolve the dependencies but when I try run this I get\r\n\r\n```bash\r\n\r\n sbt run                                                                                          master \r\n[info] Loading global plugins from /home/yo/.sbt/0.13/plugins\r\n[info] Updating {file:/home/yo/.sbt/0.13/plugins/}global-plugins...\r\n[info] Resolving org.fusesource.jansi#jansi;1.4 ...\r\n[info] Done updating.\r\n[info] Loading project definition from /home/yo/Documentos/proyectos/scala/job_new/project\r\n[info] Updating {file:/home/yo/Documentos/proyectos/scala/job_new/project/}job_new-build...\r\n[info] Resolving org.scala-lang#scalap;2.10.4 ...\r\n[info] Done updating.\r\n[info] Set current project to finatra-seed (in build file:/home/yo/Documentos/proyectos/scala/job_new/)\r\n[warn] Multiple resolvers having different access mechanism configured with same name 'Twitter Maven'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).\r\n[info] Updating {file:/home/yo/Documentos/proyectos/scala/job_new/}job_new...\r\n[warn] Multiple dependencies with the same organization/name but different versions. To avoid conflict, pick one version:\r\n[warn]  * com.twitter.finatra:finatra-http_2.11:(2.0.0.M2, 2.1.2)\r\n[info] Resolving org.scala-lang#scalap;2.11.6 ...\r\n[info] Done updating.\r\n[warn] Scala version was updated by one of library dependencies:\r\n[warn] \t* org.scala-lang:scala-library:(2.11.4, 2.11.6, 2.11.2, 2.11.0, 2.11.1) -> 2.11.7\r\n[warn] To force scalaVersion, add the following:\r\n[warn] \tivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) }\r\n[warn] There may be incompatibilities among your library dependencies.\r\n[warn] Here are some of the libraries that were evicted:\r\n[warn] \t* com.twitter.finatra:finatra-http_2.11:2.0.0.M2 -> 2.1.2\r\n[warn] \t* com.twitter.inject:inject-core_2.11:2.0.0.M2 -> 2.1.2\r\n[warn] Run 'evicted' to see detailed eviction warnings\r\n[info] Compiling 32 Scala sources to /home/yo/Documentos/proyectos/scala/job_new/target/scala-2.11/classes...\r\n[info] 'compiler-interface' not yet compiled for Scala 2.11.6. Compiling...\r\n[info]   Compilation completed in 36.973 s\r\n[error] /home/yo/Documentos/proyectos/scala/job_new/src/main/scala/com/example/AdminsControllers.scala:4: object http is not a member of package com.twitter.finatra\r\n[error] import com.twitter.finatra.http.Controller\r\n[error]                            ^\r\n[error] /home/yo/Documentos/proyectos/scala/job_new/src/main/scala/com/example/AdminsControllers.scala:17: not found: type Controller\r\n[error] class AdminsControllers extends Controller {\r\n[error]                                 ^\r\n[error] /home/yo/Documentos/proyectos/scala/job_new/src/main/scala/com/example/ExampleServer.scala:8: object http is not a member of package com.twitter.finatra\r\n[error] import com.twitter.finatra.http.response.ResponseBuilder\r\n[error]                            ^\r\n[error] /home/yo/Documentos/proyectos/scala/job_new/src/main/scala/com/example/ExampleServer.scala:20: not found: type ResponseBuilder\r\n[error]   implicit class ResponseWithSession(r: ResponseBuilder#EnrichedResponse) {\r\n[error]                                         ^\r\n[error] /home/yo/Documentos/proyectos/scala/job_new/src/main/scala/com/example/AdminsControllers.scala:18: not found: value get\r\n[error]   get(\"/wt/hola\") { req: Request => response.ok.plain(\"hola\") }\r\n[error]   ^\r\n[error] /home/yo/Documentos/proyectos/scala/job_new/src/main/scala/com/example/AdminsControllers.scala:18: not found: value response\r\n[error]   get(\"/wt/hola\") { req: Request => response.ok.plain(\"hola\") }\r\n[error]                                     ^\r\n[error] /home/yo/Documentos/proyectos/scala/job_new/src/main/scala/com/example/AdminsControllers.scala:20: not found: value get\r\n[error]   get(\"/wt/login\") { req: Request =>\r\n[error]   ^\r\n[error] /home/yo/Documentos/proyectos/scala/job_new/src/main/scala/com/example/AdminsControllers.scala:21: not found: value response\r\n[error]     response.temporaryRedirect.location(Twt.getUrlAdmin)\r\n[error]     ^\r\n[error] /home/yo/Documentos/proyectos/scala/job_new/src/main/scala/com/example/AdminsControllers.scala:25: not found: value get\r\n[error]   get(\"/mylists\") { req: Request =>\r\n[error]   ^\r\n\r\n\r\n```\r\n\r\n\r\n\r\nthis is my build.sbt\r\n\r\n```scala\r\n\r\n\r\nname := \"\"\"finatra-seed\"\"\"\r\norganization := \"com.example\"\r\n\r\nversion := \"1.0.0-SNAPSHOT\"\r\n\r\nscalaVersion := \"2.11.6\"\r\n\r\nfork in run := true\r\n\r\nresolvers ++= Seq(\r\n  Resolver.sonatypeRepo(\"releases\"),\r\n  \"Twitter Maven\" at \"https://maven.twttr.com\",\r\n  \"Finatra Repo\" at \"http://twitter.github.com/finatra\"\r\n)\r\n\r\nlazy val versions = new {\r\n  val finagle = \"6.31.0\"\r\n  val finatra = \"2.1.2\"\r\n  val logback = \"1.0.13\"\r\n  val mockito = \"1.9.5\"\r\n  val scalatest = \"2.2.3\"\r\n  val specs2 = \"2.3.12\"\r\n}\r\n\r\nlibraryDependencies += \"org.apache.oltu.oauth2\" % \"org.apache.oltu.oauth2.client\" % \"latest.milestone\"\r\n\r\nlibraryDependencies += \"org.twitter4j\" % \"twitter4j-core\" % \"latest.milestone\"\r\n\r\nlibraryDependencies += \"org.apache.httpcomponents\" % \"httpclient\" % \"4.5\"\r\n\r\nlibraryDependencies += \"org.slf4j\" % \"slf4j-log4j12\" % \"latest.milestone\"\r\n\r\n\r\nlibraryDependencies ++= Seq(\r\n  \"ch.qos.logback\" % \"logback-classic\" % versions.logback,\r\n  \"ch.qos.logback\" % \"logback-classic\" % versions.logback % \"test\",\r\n\r\n  \"com.twitter.finatra\" %% \"finatra-http\" % versions.finatra,\r\n  \"com.twitter.finatra\" %% \"finatra-slf4j\" % versions.finatra,\r\n\r\n/*  \"com.twitter.finatra\" %% \"finatra-http\" % versions.finatra % \"test\",\r\n  \"com.twitter.inject\" %% \"inject-server\" % versions.finatra % \"test\",\r\n  \"com.twitter.inject\" %% \"inject-app\" % versions.finatra % \"test\",\r\n  \"com.twitter.inject\" %% \"inject-core\" % versions.finatra % \"test\",\r\n  \"com.twitter.inject\" %% \"inject-modules\" % versions.finatra % \"test\",\r\n  \"com.twitter.finatra\" %% \"finatra-http\" % versions.finatra % \"test\" classifier \"tests\",\r\n  \"com.twitter.inject\" %% \"inject-server\" % versions.finatra % \"test\" classifier \"tests\",\r\n  \"com.twitter.inject\" %% \"inject-app\" % versions.finatra % \"test\" classifier \"tests\",\r\n  \"com.twitter.inject\" %% \"inject-core\" % versions.finatra % \"test\" classifier \"tests\",\r\n  \"com.twitter.inject\" %% \"inject-modules\" % versions.finatra % \"test\" classifier \"tests\",*/\r\n\r\n  \"org.mockito\" % \"mockito-core\" % versions.mockito % \"test\",\r\n  \"org.scalatest\" %% \"scalatest\" % versions.scalatest % \"test\",\r\n  \"org.specs2\" %% \"specs2\" % versions.specs2 % \"test\")\r\n\r\n```\r\n\r\nwhat could be the problem here?..thank you and congratulation for the nice work did with finatra \r\n\r\n"}}
{"actor":{"display_login":"cocodrino"}}