how to solve missing hibernate-support library in copied netbeans project

做~自己de王妃 提交于 2019-12-10 17:47:05

问题


I am working on this Java code given using NetBeans. I copy code and trying to run and getting following error

Warning: Could not find file /home/blackbird/NetBeansProjects/XCRIBuilder/${libs.hibernate-support.classpath} to copy**

in NetBeans --> project properties it says missing hibernate-support library, but I can see there are multiple hibernate related jar files already added to library.

is there any classPath need to set-up for hibernate? if I create new java web-application project in NetBeans then it doesn't give me this error

I am running NetBeans on linux ubuntu.

I really need guideline on this

Many thanks in advanced


回答1:


Even though this is a pretty old question...

In Project properties->Libraries I removed the hibernate-support reference and then added hibernate directly from Netbeans, i.e. Add Library -> Global Libraries -> Hibernate 4.3.x

Clean and build and everything should be fine.



来源:https://stackoverflow.com/questions/26912930/how-to-solve-missing-hibernate-support-library-in-copied-netbeans-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!