Wiki link on Eclipse setup: https://cwiki.apache.org/confluence/display/KAFKA/Eclipse-Scala-Gradle-Git+Developement+Environment+Setup
On Thu, Feb 19, 2015 at 10:03 PM, Jonathan Rafalski < jonathan.rafal...@gmail.com> wrote: > Hello again, > > Sorry again to send you guys such a generic error. Seems eclispe > did not want to give me any good error messages. I switched over to > intellij and was able to get everything up and running after resolving > two blockers: > > 1) under Settings>Build, Execution, Deployment>Scala Compiler under > the core project the "additional compiler options:" had the -target > set to "jvm-1.8" which seems is not supported by scala 2.11. removing > that option and running under JDK 1.7 got me past there. > > 2) under Project Structure>Project Settings>Modules the "Kafka" > module's compile output had the same path for both output and test > output which was preventing the compiler. > > I will go back with the Eclispe/Scala IDE setup and see if these two > errors were also preventing there and in the end will create a write > up on my adventures for review. > > Sorry again about the total newbieness of my prior email. I will > work harder on digging deeper before my next query to the list. > > Jonathan. > > On Tue, Feb 17, 2015 at 10:09 PM, Jonathan Rafalski > <jonathan.rafal...@gmail.com> wrote: > > Hello all, > > > > Completely new to kafka and scala but thought I would get my feet > > wet with a few of the newbie tasks. > > > > I was able to get the source up and running in the Scala IDE and I > > am able to debug the examples, however when I try to debug any of the > > unit tests in core (for example the > > unit.kafka.consumer.zookeeperconsumerconnectortest class) I get the > > java.lang.ClassNotFoundException: > > > > Class not found unit.kafka.consumer.ZookeeperConsumerConnectorTest > > > > I have searched the normal sites (SE and Mail archives) and > > attempted a few solutions (adding physical directories of the .class > > and .scala files to the build path adding junit libraries) but to no > > avail. My thoughts are this is due to the fact that the package > > declaration on the unit tests point to the main pacakages not the unit > > test package which is causing eclipse to freak out (though might be > > way off base). > > > > also since I am just starting and I have no alliances yet is eclipse > > the preferred IDE here or should I be going with Intellij? > > > > I apologize for the complete newb question here but any help on setup > > to get these unit tests up and running so I can start contributing I > > would be grateful. > > > > Thank you again. > > > > Jonathan. >