xml配置的一个问题
配置了过滤器
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
</web-app>
<filter>
<filter-name>Hello</filter-name>
<filter-class>com.qrsx.jsp.web.HelloFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Hello</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
为什么在filter下提示
the marked up in the document following the root element must be well formed
这个错误是什么意思 直接导致tomcat启动就报错