org.xml.sax.SAXParseException; lineNumber: 10; columnNumber: 60; cvc-complex-type.2.4.c: 通配符的匹配很全面, 但无法找到元素 ‘context:component-scan’ 的声明。
java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204)
java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:135)
java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396)
java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284)
java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator
X
S
I
E
r
r
o
r
R
e
p
o
r
t
e
r
.
r
e
p
o
r
t
E
r
r
o
r
(
X
M
L
S
c
h
e
m
a
V
a
l
i
d
a
t
o
r
.
j
a
v
a
:
511
)
j
a
v
a
.
x
m
l
/
c
o
m
.
s
u
n
.
o
r
g
.
a
p
a
c
h
e
.
x
e
r
c
e
s
.
i
n
t
e
r
n
a
l
.
i
m
p
l
.
x
s
.
X
M
L
S
c
h
e
m
a
V
a
l
i
d
a
t
o
r
.
r
e
p
o
r
t
S
c
h
e
m
a
E
r
r
o
r
(
X
M
L
S
c
h
e
m
a
V
a
l
i
d
a
t
o
r
.
j
a
v
a
:
3587
)
j
a
v
a
.
x
m
l
/
c
o
m
.
s
u
n
.
o
r
g
.
a
p
a
c
h
e
.
x
e
r
c
e
s
.
i
n
t
e
r
n
a
l
.
i
m
p
l
.
x
s
.
X
M
L
S
c
h
e
m
a
V
a
l
i
d
a
t
o
r
.
h
a
n
d
l
e
S
t
a
r
t
E
l
e
m
e
n
t
(
X
M
L
S
c
h
e
m
a
V
a
l
i
d
a
t
o
r
.
j
a
v
a
:
2143
)
j
a
v
a
.
x
m
l
/
c
o
m
.
s
u
n
.
o
r
g
.
a
p
a
c
h
e
.
x
e
r
c
e
s
.
i
n
t
e
r
n
a
l
.
i
m
p
l
.
x
s
.
X
M
L
S
c
h
e
m
a
V
a
l
i
d
a
t
o
r
.
e
m
p
t
y
E
l
e
m
e
n
t
(
X
M
L
S
c
h
e
m
a
V
a
l
i
d
a
t
o
r
.
j
a
v
a
:
849
)
j
a
v
a
.
x
m
l
/
c
o
m
.
s
u
n
.
o
r
g
.
a
p
a
c
h
e
.
x
e
r
c
e
s
.
i
n
t
e
r
n
a
l
.
i
m
p
l
.
X
M
L
N
S
D
o
c
u
m
e
n
t
S
c
a
n
n
e
r
I
m
p
l
.
s
c
a
n
S
t
a
r
t
E
l
e
m
e
n
t
(
X
M
L
N
S
D
o
c
u
m
e
n
t
S
c
a
n
n
e
r
I
m
p
l
.
j
a
v
a
:
351
)
j
a
v
a
.
x
m
l
/
c
o
m
.
s
u
n
.
o
r
g
.
a
p
a
c
h
e
.
x
e
r
c
e
s
.
i
n
t
e
r
n
a
l
.
i
m
p
l
.
X
M
L
D
o
c
u
m
e
n
t
F
r
a
g
m
e
n
t
S
c
a
n
n
e
r
I
m
p
l
XSIErrorReporter.reportError(XMLSchemaValidator.java:511) java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3587) java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:2143) java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(XMLSchemaValidator.java:849) java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:351) java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
XSIErrorReporter.reportError(XMLSchemaValidator.java:511)java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3587)java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:2143)java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(XMLSchemaValidator.java:849)java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:351)java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImplFragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2725)
java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:541)
java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:888)
java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:824)
可能是配置文件标签导入没有写对检查标签:
如:
xmlns:context=“http://www.springframework.org/schema/context”
xsi:schemaLocation:=“http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd”>
xsi:schemaLocatio中缺少其中任意的引用地址都会标签失效报错
springmvc的标签失效
最新推荐文章于 2023-06-23 12:32:15 发布
关键词由CSDN通过智能技术生成