I was using Hibernate on Eclipse and it everything was fine, but when I moved to WSAD the same code, I had a problem. It show the error that it is unable to connect to host:hibernate.sourceforge.net,in hibernate.cfg.xml. So it is not able to read the DTD and not parse the xml file.
I dont have any clue why it is happening, Also in WSAD I checked the project properties and tried to disable DTD validation and stuff, but nothing helped
If anyone has any idea why this can happen, plz post ur ideas
You need a connection to the Internet when the files are validated. If you connect through a proxy server then use the menu sequence to tell WSAD about it: Window, Preferences, Internet, Proxy Settings. You will have to make some non-significant change to get the files re-validated (e.g. insert and delete a blank). It looks to me like WSAD caches these DTDs, as I had the problem when I started using Hibernate but now it doesn't happen to me any more.