0

During my unit tests, I want to avoid the connection to Internet used by Xerces to validate the XML application context files (for Spring). How can I do it ?

stefv
  • 429
  • 1
  • 4
  • 19
  • possible duplicate of [Spring schemaLocation fails when there is no internet connection](http://stackoverflow.com/questions/1729307/spring-schemalocation-fails-when-there-is-no-internet-connection) – Alex Jul 27 '15 at 14:49

1 Answers1

0

I found the reason: I didn't include the good version of the JAR of Spring with the schema included. Finally, using the good version of the schema in my application context file, i don't have the error anymore.

stefv
  • 429
  • 1
  • 4
  • 19