[
https://issues.apache.org/jira/browse/JAMES-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoit Tellier updated JAMES-3037:
----------------------------------
Description:
Jerry Malcolm reported the following log:
https://www.mail-archive.com/[email protected]/msg64206.html
{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
was:
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
> 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:
> https://www.mail-archive.com/[email protected]/msg64206.html
> {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: [email protected]
For additional commands, e-mail: [email protected]