0 Replies Latest reply on May 31, 2007 3:02 AM by

    Flex not resolving a DTD document

      Hi,
      I am trying to call a method on a java remote object. My server is set up fine because I have done this before but in this case the .jar file contains an XML file: AppSpringContext.xml and this is calling a DTD: spring-beans.dtd.

      Both of these files exist in the jar on the root directory. When the java developer runs his Unit Test it works fine, however when I attempt to call a method I get the following error:

      Line 2 in XML document from class path resource [AppSpringContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Relative URI "spring-beans.dtd"; can not be resolved without a base URI.

      Has anyone any ideas on this - PLEASE :o)