導(dǎo)入org.hibernate包出錯
提示錯誤是下面這個,不懂怎么解決
The package org.hibernate is accessible from more than one module: hibernate.commons.annotations, hibernate.core
提示錯誤是下面這個,不懂怎么解決
The package org.hibernate is accessible from more than one module: hibernate.commons.annotations, hibernate.core
2018-06-28
舉報
2018-10-30
樓上是對的,新版本的eclipse在將lib導(dǎo)入進path的時候會有兩個選項,一個是ModulePath,一個是Classpath。我就是將lib放入到了ModulePath下會這樣報錯,重新放入Classpath后就不會報錯了
2018-09-18
你的jar包是放在Classpath下的嗎?如果放在了ModulePath下就會報錯
2018-09-05
對,建議下載個新的hiberate,我就是換了更新版本就不報錯了
2018-07-31
你的hibernate-codejar包與其它jar包不兼容,建議重新下載,