Please ignore. Thanks to the tip at this link I was able to get it to work by adding:
resolvers += "Apache repo" at " https://repository.apache.org/content/repositories/releases" http://mail-archives.apache.org/mod_mbox/kafka-users/201308.mbox/%3cdf4527f2-5634-4dc8-b7fc-ab8428640...@l1024.org%3E Thanks, Chetan. Copying contents of my build.sbt here which someday someone may find useful: name := "OptionsWatcher" version := "1.0-SNAPSHOT" scalaVersion := "2.9.3" resolvers += "Apache repo" at " https://repository.apache.org/content/repositories/releases" libraryDependencies ++= Seq( jdbc, anorm, cache, "org.apache.kafka" % "kafka_2.9.2" % "0.8.0-beta1" excludeAll ( ExclusionRule(organization = "com.sun.jdmk"), ExclusionRule(organization = "com.sun.jmx"), ExclusionRule(organization = "javax.jms"), ExclusionRule(organization = "org.slf4j") ) ) play.Project.playScalaSettings On Mon, Nov 25, 2013 at 8:28 AM, Something Something < mailinglist...@gmail.com> wrote: > Getting this error message when I run the 'compile' command: > > [error] (*:update) sbt.ResolveException: unresolved dependency: > org.apache.kafka#kafka_2.9.2;0.8.0-beta1: null name not allowed > > > > > Added the following to my build.sbt > > name := "OptionsWatcher" > > version := "1.0-SNAPSHOT" > > libraryDependencies ++= Seq( > jdbc, > anorm, > cache, > "joda-time" % "joda-time" % "2.2", > "org.joda" % "joda-convert" % "1.3.1", > "ch.qos.logback" % "logback-classic" % "1.0.13", > "org.mashupbots.socko" % "socko-webserver_2.9.2" % "0.2.2", > "nl.grons" % "metrics-scala_2.9.2" % "3.0.0", > "com.codahale.metrics" % "metrics-core" % "3.0.0", > "io.backchat.jerkson" % "jerkson_2.9.2" % "0.7.0", > "com.amazonaws" % "aws-java-sdk" % "1.3.8", > "net.databinder.dispatch" %% "dispatch-core" % "0.9.5", > "org.apache.kafka" % "kafka_2.9.2" % "0.8.0-beta1" excludeAll ( > ExclusionRule(organization = "com.sun.jdmk"), > ExclusionRule(organization = "com.sun.jmx"), > ExclusionRule(organization = "javax.jms"), > ExclusionRule(organization = "org.slf4j") > ) > ) > > play.Project.playScalaSettings > > > > On Mon, Nov 25, 2013 at 5:27 AM, chetan conikee <coni...@gmail.com> wrote: > >> Add the following to a Play Project with Scala 2.9.2 >> >> scalaVersion := "2.9.2" >> >> libraryDependencies ++= Seq( >> "joda-time" % "joda-time" % "2.2", >> "org.joda" % "joda-convert" % "1.3.1", >> "ch.qos.logback" % "logback-classic" % "1.0.13", >> "org.mashupbots.socko" % "socko-webserver_2.9.2" % "0.2.2", >> "nl.grons" % "metrics-scala_2.9.2" % "3.0.0", >> "com.codahale.metrics" % "metrics-core" % "3.0.0", >> "io.backchat.jerkson" % "jerkson_2.9.2" % "0.7.0", >> "com.amazonaws" % "aws-java-sdk" % "1.3.8", >> "net.databinder.dispatch" %% "dispatch-core" % "0.9.5", >> "org.apache.kafka" % "kafka_2.9.2" % "0.8.0-beta1" excludeAll ( >> ExclusionRule(organization = "com.sun.jdmk"), >> ExclusionRule(organization = "com.sun.jmx"), >> ExclusionRule(organization = "javax.jms"), >> ExclusionRule(organization = "org.slf4j")) >> ) >> >> >> On Sun, Nov 24, 2013 at 11:41 PM, Something Something < >> mailinglist...@gmail.com> wrote: >> >> > Let me start off by saying I am a newbie to Kafka, Play as well as >> Scala. >> > >> > Trying to write an application under Play Framework in which an 'Actor' >> > will write a message to Kafka queue. >> > >> > There's sample code available >> > under ./core/src/main/scala/kafka/producer/ConsoleProducer.scala for me >> to >> > copy, so that's not the issue. >> > >> > I am struggling to add the Kafka jar to my project in Play. >> > >> > I tried to put the following under ./projects/plugins.sbt >> > >> > addSbtPlugin("org.apache" % "kafka" % "0.7.2-incubating") >> > >> > (and several combinations of this) but nothing is working. Please >> help. >> > >> > Thanks. >> > >> > >