X-Git-Url: http://juplo.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsite%2Fxhtml%2Fpitfalls.xhtml;fp=src%2Fsite%2Fxhtml%2Fpitfalls.xhtml;h=71839293395c61ff627c5156e50929da387e8710;hb=038ccf9c60be6c77e2ba9c2d2a2a0d261ce02ccb;hp=9b868001aa6c16b811c727f264ce8764d7fd2044;hpb=c43094689043d7da04df6ca55529d0f0c089d820;p=hibernate4-maven-plugin
diff --git a/src/site/xhtml/pitfalls.xhtml b/src/site/xhtml/pitfalls.xhtml
index 9b868001..71839293 100644
--- a/src/site/xhtml/pitfalls.xhtml
+++ b/src/site/xhtml/pitfalls.xhtml
@@ -184,19 +184,12 @@ mvn hibernate4:export -Dhibernate.export.force=true
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. + directory, you are expiriencing a bug, in the scannotation-library, that + was closed in version 1.1.0 of the hibernate-maven-plugin.
- Hence, I assume, this is a sublte bug in the way, the java-version for - Windows is handling paths, that contain whitespaces. + You should consider to upgrade to that version of the plugin.