我不知道你們中有多少人注意到http://repository.jboss.org/maven2已關閉。你從哪裏得到你的罐子?從何處獲取hibernate jars?
例如,如果你想休眠3.5.6-最終,你從哪裏得到它?
在此先感謝
我不知道你們中有多少人注意到http://repository.jboss.org/maven2已關閉。你從哪裏得到你的罐子?從何處獲取hibernate jars?
例如,如果你想休眠3.5.6-最終,你從哪裏得到它?
在此先感謝
從Hibernate's download page,JBoss的Maven倉庫是在https://repository.jboss.org/nexus/content/groups/public/
您的問題被標記爲Maven-2,b如果你不使用Maven來管理依賴關係,你應該從SourceForge下載Hibernate Bundle。
無論如何,Maven可以從Maven Central Repository下載它們。您可以使用這些依賴對Hibernate 3.5.6,有註釋,不指定任何額外的存儲庫。
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.5.6-Final</version>
</dependency>
您可能需要使用hibernate-core
神器,而是和你在intereseted其他非傳遞依賴
看看這可能重複的問題:How can I use Maven to get the latest Hibernate release?
順便說一句,似乎repository.jboss.org/maven2 is up。
hibernate-core不存在,如果我下載這個,它會足夠嗎? – Ikthiander
你使用maven來管理依賴關係嗎?如果你是這樣,你可以在答案中加入'hibernate-core'神器與同樣的'
JBoss回購已於2011年6月搬遷 - 你昨天檢查了關於這個問題的問題和答案嗎? http://stackoverflow.com/questions/7657978/maven-failing-download-the-jboss-dependency – gnat