Women in Technology

Hear us Roar



Article:
  XML Data Binding with Castor
Subject:   Problem with castor.exolab.org/mapping.dtd
Date:   2004-03-25 09:38:41
From:   kmullin
I'm using the downloaded files from the article on XML Binding using Castor. But, when I execute the ViewAddressbook Java program, I get:


org.exolab.castor.mapping.MappingException: Nested error: java.net.UnknownHostException: Castor.exolab.org


I see a reference to this in my mapping file (which I downloaded). When I try to view this with my browser, using the URL


http://castor.exolab.org/mapping.dtd


I get errors in my Internet Explorer, V6, that says:


Cannot have a DTD declaration outside of a DTD. Error processing resource 'http://castor.exolab.org/mapping.dtd'. Line 22, Position 11


So, the problem I am having is on your end (I think.)

Main Topics Oldest First

Showing messages 1 through 2 of 2.

  • Problem with castor.exolab.org/mapping.dtd
    2006-03-24 15:48:47  MobileX [View]

    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"

    Please help!!! thanking you in advance.
    Regards,
    MobileX
  • Problem with castor.exolab.org/mapping.dtd
    2004-06-01 23:43:28  Pashmina [View]

    I am facing the same problem.
    Did u get the solution to the problem. If so, pls let me know
    Thanks