kafka-avro-course
kafka-avro-course copied to clipboard
Suggestion: Encourage the use of mvn install
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.