3 Replies Latest reply on Oct 13, 2005 11:30 PM by starksm64

    The new 4.0.3 JBossEntityResolver and resolving DTD's locall

    leathurman

      Hi All,

      We are trying to migrate a Spring/Hibernate based app from 3.0.6 to 4.0.3 running on Mac OS 10.4 but I am unable to get Spring XML docs to be resolved against local DTD's.

      I have read the changes to the JBossEntityResolver in 4.0.3 and assumed this solved my problem but I still cannot get the app to locate the DTD.

      I have amended my Spring DOCTYPE so that it is

      <!DOCTYPE beans SYSTEM "spring-beans.dtd">
      and amended my build script so that the dtd is included in the same location as the Spring file.

      However when I deploy the file is not found and within the exploded EAR structure the DTD is not present but it is in the ejb.jar file.

      I am assuming I have missed something obvious here as I thought 4.0.3 would just pick it up from the classpath.

      Any help would be much appreciated.

      Regards
      Lea Thurman.