Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3037

Spring XSD not found debug log

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.5.0
    • Spring Container
    • None

    Description

      Jerry Malcolm reported the following log:

      https://www.mail-archive.com/server-dev@james.apache.org/msg64206.html

      DEBUG 23:12:10,456 | org.springframework.beans.factory.xml.ResourceEntityResolver | Could not resolve XML entity [classpath:org/springframework/beans/factory/xml/spring-beans-3.0.xsd] against syjava.net.MalformedURLException: unknown protocol: classpath at java.net.URL.<init>(URL.java:607) at java.net.URL.<init>(URL.java:497) at java.net.URL.<init>(URL.java:446) at org.springframework.beans.factory.xml.ResourceEntityResolver.resolveEntity(ResourceEntityResolver.java:79) at com.sun.org.apache.xerces.internal.util.EntityResolverWrapper.resolveEntity(EntityResolverWrapper.java:110) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:1081) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.resolveDocument(XMLSchemaLoader.java:654) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2431) 
      

      classpath:org/springframework/beans/factory/xml/spring-beans-3.0.xsd is only used in two places:

      • server/container/spring/src/main/resources/META-INF/org/apache/james/spring-mailbox-authenticator.xml
      • server/container/spring/src/main/resources/META-INF/org/apache/james/spring-mailbox-authorizator.xml

      We should rather rely on the standard we are using in other places: http://www.springframework.org/schema/beans/spring-beans.xsd

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: