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