Fixing “Class has two properties of the same name” exception

I started to learn JAXB from Vogella tutorial site. I changed the package and project name, and running the example generated following exception. Solution: After some googling I figured out,…