The situation is : I got the Kafka project properly, and run the "quick start" with Linux command line, there is no problem. Then I build a Scala project(Kafka is in Scala) and import the source code in the /core directory, put the packages in the build path, and there are errors, so I tried to just import the packages in main/ Here is the directory of core:
usrname@kafka-0.7.2-incubating-src/core$ tree -L 2
.
├── lib
├── lib_managed
│ └── scala_2.8.0
├── src
│ ├── **main**
│ └── test
└── target
└── scala_2.8.0
After the import, here is the situation:There are scala and java files in the project, the error log says the java files and some of the scala files could not be found which are really imported in the project. What should I do with the project? How to import the scala java mixed project correctly?