今天在web.xml中配置过滤器的时候出现了这个错误:
cvc-complex-type.2.3: Element 'filter' cannot have character [children], because the type's content type is element-only.
因为代码是粘贴上去的。最终的解决办法就是把有红叉的地方去掉空格就行了,应该是网上粘贴有中文空格的问题
今天在web.xml中配置过滤器的时候出现了这个错误:
cvc-complex-type.2.3: Element 'filter' cannot have character [children], because the type's content type is element-only.
因为代码是粘贴上去的。最终的解决办法就是把有红叉的地方去掉空格就行了,应该是网上粘贴有中文空格的问题
转载于:https://my.oschina.net/ruoxi/blog/383841