This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i use hibernate, and it tries to download the XSD definition used from an persistance.xml file.
The persistance.xml looks like:
The stacktrace looks like this:
How can i tell hibernate that it should not fetch the XSD file from internet? Because my application cannot be started up when it has no internet or java.sun.com delivers a non-XSD document (like happened her) or the delivery just hangs up.
according to the missing XSD your stacktrace shows only a warning.
You could download the XSD, place it in a local directory, and change the schema location in your persistence.xml to that local path. With that, the warning should be gone.
By the way, don't you think the problem of your application not starting is more related to line 155 in the stacktrace you've posted?