Hello,
In my web app, Hibernate is trying to resolve its DTDs on the net. How can i get it to resolve them locally?
I updated my mapping files so that they include the following system entity, but its still looking on the net.
I have the hibernate3 jar files in my web-inf/lib directory and thought the following would get picked up in the hibernate jar.
Alternatively, is there a way to disable this check?
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"
[<!ENTITY mapping SYSTEM "classpath://org/hibernate/hibernate-mapping-3.0.dtd"> ]>
Error Message:Code:
Caused by: org.dom4j.DocumentException: www.hibernate.org Nested exception: www.hibernate.org
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:499)
... 105 more
Thanks