I couldn't run the application since i was using java 13 . So i searched for the solution . I found it on the first answer in the website : https://stackoverflow.com/questions/57548038/error-creating-bean-with-name-entitymanagerfactory-not-fixed-by-javaxb-or-hibe The code works well , Thank's . So just add the comment in case people are using java >= 11