java - Eclipse error: "The import XXX cannot be resolved" -


i'm trying work hibernate in eclipse. i'm creating new simple project , i've downloaded collegue project too, via cvs. both don't work, while on collegue's eclipse do. problem that, each import of hibernate class, eclipse says:

the import org.hibernate cannot resolved 

but hibernate jars in build path, is:

antlr-2.7.6.jar cglib-2.2.jar commons-collections-3.1.jar dom4j-1.6.1.jar hibernate3.jar hibernate-jpa-2.0-api-1.0.0.final.jar javassist-3.12.0.ga.jar jta-1.1.jar slf4j-api-1.6.1.jar 

try cleaning project going following menu item:

project > clean... 

if doesn't work, try removing jars build path , adding them again.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -