How to tell eclipse to ignore: “No persistence.xml file found in project”
问题 For my projects Necessity i regroup all the persistence.xml entries in one core project which i bind as maven dependency wherever i need. The problem is that the eclipse IDE is always complaining about No persistence.xml file found in project Is there away to keep eclipse quiet about this? Thanks 回答1: Thanks to sionnach733 who put me on the right way 回答2: Window->Preferences->Java Persistence-> JPA-> Errors/warnings-> Project Then change it from error to whatever you like(warning/info/ignore)