kafka-avro-course icon indicating copy to clipboard operation
kafka-avro-course copied to clipboard

Suggestion: Encourage the use of mvn install

Open jonathanmv opened this issue 6 years ago • 0 comments

Hello Stéphane,

I was following the instructions in the course and my generated specific class was not being found by the runnable class. I'm not very experienced in maven so I followed all the steps as described in your videos without success. Then I thought it was something on my code but after cloning this repo the same thing happened: the runnable class couldn't find the generated classes.

The way I solved it was by running mvn install, however this was not obvious for me and I don't really understand why I had to do it if I enabled auto imports in Intellij and ran mvn clean and mvn package.

I'm creating this issue so that other people can find a solution when the main class doesn't recognize the generated specific classes from the .avsc files.

jonathanmv avatar Oct 12 '18 18:10 jonathanmv