Hibernate entity scanning does not seem to work under windows when the path cont


Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: C:\Tomcat%206.0\webapps\books-web\WEB-INF\lib\books-integration-1.0.0-SNAPSHOT.jar (系统找不到指定的路径。)

it seems that you're using an old Hibernate EntityManager version... Please upgrade to Hibernate EntityManager 3.3.2 or higher, where an issue with spaces in paths has been fixed. They actually reimplemented the entire entity scanning based on some own code rather than the general JBoss ArchiveBrowser.

你可能感兴趣的:(java,tomcat,windows,Hibernate,jboss)