hibernate tools for eclipse

参考:

http://hi.baidu.com/java513/item/07c01d993d751bdc7a7f013c

http://blog.csdn.net/wangpeng047/article/details/6877720

 

问题:

I'm using hibernate Tools 3.4 with Eclipse 3.6 link up with Oracle.

My problem is I can pass the ping test but I cannot get the db schema in "Hibernate Configuration" -> "Database".

When I right click the "Database" and select "Refresh", following error is thrown.

Code:

java.lang.IllegalStateException: zip file closed

 

原因:

Seems like plugins can't load one of the necessary classes because the referenced jar is locked.

Do you have all necessary jar in your project?(other applications don't use them)

 

解决:

maybe. After restart eclipse, this did not reproduce again.

你可能感兴趣的:(Hibernate)