From: Kai Moritz Date: Tue, 11 Nov 2014 13:29:23 +0000 (+0100) Subject: Added FAQ-entry for problem with whitespaces in the path under Windows X-Git-Tag: hibernate4-maven-plugin-1.0.5~3 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=347236c3cea0f204cefd860c605d9f086e674e8b;p=hibernate4-maven-plugin Added FAQ-entry for problem with whitespaces in the path under Windows --- diff --git a/src/site/xhtml/pitfalls.xhtml b/src/site/xhtml/pitfalls.xhtml index 90e09241..9b868001 100644 --- a/src/site/xhtml/pitfalls.xhtml +++ b/src/site/xhtml/pitfalls.xhtml @@ -179,5 +179,25 @@ mvn hibernate4:export -Dhibernate.export.force=true <scanDependencies>none</scanDependencies> </configuration> </plugin> +

No annotated classes found

+

+ If you are working under Windows and get the error-message + No annotated classes found in directory C:\projects\X Y Z\path-to-project\target\classes, + but you are really sure, that there are annotated classes in that + directory, you should try to rename your folders, so that their names + do not contain any whitespaces. +

+

+ So fare, I got to bug-reports considering this. + In both cases, removing all whitespaces from the path solved the error. + In both cases, I was not able to reproduce the bug on my development + system, which is running under linux. +

+

+ + Hence, I assume, this is a sublte bug in the way, the java-version for + Windows is handling paths, that contain whitespaces. + +