---
title: "schemaLocation 加载不到xsd的时候"
author: "董瑞龙"
date: "2012-07-30T18:00:56Z"
tags: []
categories: ["企业架构"]
slug: "schemalocation-xsd"
draft: false
lastmod: "2012-08-20T11:21:22Z"
id: 1612535
url: "https://rylan.iteye.com/blog/1612535"
---

今天开发的时候遇到一个问题，当无网络连接的时候报错
org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict
找不到xsd

我的解决方法如下：
从相关jar包的META-INF目录中解压spring.handlers和spring.schemas
然后复制到项目的
META-INF目录下
解决