vendredi 6 mars 2015

Here is the header of my spring-security.xml :



<?xml version="1.0" encoding="UTF-8" ?>
<b:beans xmlns:b="http://ift.tt/GArMu6"
xmlns:xsi="http://ift.tt/ra1lAU"
xmlns:sec="http://ift.tt/1c8inpe"
xmlns:oauth="http://ift.tt/1bBHntb"
xmlns:context="http://ift.tt/GArMu7"
xmlns:mvc="http://ift.tt/1bHqwjR"

xsi:schemaLocation="http://ift.tt/1c8inpe
http://ift.tt/1epvZ6L
http://ift.tt/GArMu6
http://ift.tt/18sW2ax
http://ift.tt/1bBHntb
http://ift.tt/1ulwTFM
http://ift.tt/GArMu7
http://ift.tt/1bGeTcI
http://ift.tt/1bHqwjR
http://ift.tt/JWpJWM ">


When starting the server, I am prompted this error :



org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://ift.tt/1ulwTFM', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema/>.



My thoughts on this :




  1. The link is valid and the document exists




  2. I can read it and I can even reproduce this error if I place this xsd on my local classpath. So it's not a networking issue.




  3. That's right, the file is starting by <xs:schema> instead of <xsd:schema>. But the source looks legit.




Why do I get this error and how can I get rid of it ?


Aucun commentaire:

Enregistrer un commentaire