A Spring project was created with name that have spaces.
When persistence.xml doesn't have any configured, it scans for entity classes in classpath.
Since the path is URL encoded, spaces converts to %20 and the URL String doesn't seem to read the file.
Suggestion: String urlString = url.toString(); can be changed to url.getFile() in Line 137
A Spring project was created with name that have spaces. When persistence.xml doesn't have any configured, it scans for entity classes in classpath.
Since the path is URL encoded, spaces converts to %20 and the URL String doesn't seem to read the file.
Suggestion: String urlString = url.toString(); can be changed to url.getFile() in Line 137