It seems I have the same problem. Initially I did build the whole exercise into my own structure. Everything went fine up to the consumerModule, including the compiling and creation of the jar. However, when trying to run the program I got the Error:
Error occurred during initialization of boot layer
java.lang.LayerInstantiationException: Package zoo in both module zoo.tours.reservations and module zoo.tours.api
I did do all compilation over again but I could not get rid of this error. Finally, I decided to just download the repository and run the
java commands one by one from the readme file included on the repo structure. Surprisingly the same type of error occurred, but this time it complained about:
Package zoo.tours in both module zoo.tours.reservations and module zoo.tours.api
.
I am not sure this is something buggy or not. But I cannot see a more cleaner way of picking the repo directory and executing the commands by copy pasting them in my terminal?