james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Tellier (Jira)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-3037) Spring XSD not found debug log
Date Wed, 05 Feb 2020 07:05:00 GMT

    [ https://issues.apache.org/jira/browse/JAMES-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030399#comment-17030399
] 

Benoit Tellier commented on JAMES-3037:
---------------------------------------

https://github.com/linagora/james-project/pull/3082 solves this

> Spring XSD not found debug log
> ------------------------------
>
>                 Key: JAMES-3037
>                 URL: https://issues.apache.org/jira/browse/JAMES-3037
>             Project: James Server
>          Issue Type: Improvement
>          Components: Spring Container
>    Affects Versions: 3.4.0
>            Reporter: Benoit Tellier
>            Priority: Major
>             Fix For: 3.5.0
>
>
> Jerry Malcolm reported the following log:
> {code:java}
> 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)

> {code}
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message