Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.4.0
-
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