sasikala wrote:
batmat wrote:
First, the big thing between Hibernate 2 and Hibernate 3 is that the packages to be used are not net.sf.hibernate anymore, but org.hibernate. So I guess your problem is mainly related to this. Replace this everywhere.
I've completely changed all the changes which u've mentioned earlier and still the problem exists... plz dont send the generic answer.... send it clearly whats the problem and what i've do now....?
Speaking like this won't help you getting helped...
Did you read your stacktrace? Ok, I'll copy the interesting part imo:
Code:
Nested exception:
java.net.UnknownHostException: hibernate.sourceforge.net
at java.net.InetAddress.getAllByName0(InetAddress.java:1016)
at java.net.InetAddress.getAllByName0(InetAddress.java:981)
Can you access Internet from your place? I guess it's not finding the dtd locally, so it tries to access the specified place given at the beginning of the hibernate.cfg.xml file.