Finally, I managed to find a workaround to my scenario:
Instead of generating Java classes through Eclipse, I did it directly through CLI, with the command suggested in apache-cfx tutorial. After this I imported generated files in my Eclipse project. For those who need to dig more on this issue, here I have a response to a very similar question.
Hope to be useful for someone.