This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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?