| Article: |
XML Data Binding with Castor | |
| Subject: | Problem with castor.exolab.org/mapping.dtd | |
| Date: | 2006-03-24 15:48:47 | |
| From: | MobileX | |
|
Response to: Problem with castor.exolab.org/mapping.dtd
|
||
|
I have imported the castor jar files. It build without any problems. When I ran the code I get "org.exolab.castor.mapping.MappingException: Nested error: java.net.UnknownHostException: Castor.exolab.org"
|
||
Showing messages 1 through 1 of 1.
-
Problem with castor.exolab.org/mapping.dtd
2006-10-12 09:01:54 hsgujral@hotmail.com [View]



Change your DTD reference from:
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Object Mapping DTD Version 1.0//EN" "http://castor.exolab.org/mapping.dtd">
to:
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.org/mapping.dtd">
Thanks
Harpal Gujral