0
我的GWT項目是與谷歌應用程序引擎設置。現在我想在Google應用引擎中運行hibernate代碼。gwt谷歌appengine與休眠
我已經添加了businesslogic jar文件,其中包含所有具有hibernate實現的業務邏輯。我放置了我的businesslogic jar文件WEB-INF \ lib文件夾並添加到classpath中。運行應用程序後,當我單擊登錄按鈕時,它應驗證用戶名和密碼。此用戶驗證已通過hibernate實現,但會引發以下異常。
Caused by: org.datanucleus.exceptions.NucleusUserException: No available StoreManager
found for the datastore URL key "jdbc". Please make sure you have all relevant
plugins in the CLASSPATH (e.g datanucleus-rdbms?, datanucleus-db4o?), and consider
setting the persistence property "datanucleus.storeManagerType" to the type of store
you are using e.g rdbms, db4o
ok。謝謝。所以我會放棄嘗試休眠通過使用GAE – user414967
是否有任何方法來執行我的代碼已經存在於休眠。這是獨立的jar文件。我必須只需要訪問這些文件。如果我可以將這些服務公開爲web服務,我可以讓它運行我的代碼? – user414967
這不再正確 - 2013年發佈了一個[App Engine + Hibernate官方示例](https://github.com/GoogleCloudPlatform/appengine-cloudsql-native-mysql-hibernate-jpa-demo-java)。 –