导入前我按照网上搜到的教程改了别人得这个项目里面的.settings文件里的xml文件的running name(Apache Tomcat v9.0自己的版本),导入之后也对build path的libraries里面的JRE System Library和Server Runtime
但是web.xml还是有报错:
提示的错误是:
Invalid element name: - display-name One of the following is expected: - distributable - context param - filter - filter-mapping - listener - servlet - servlet-mapping - session-config
mime-mapping - welcome-file-list - error-page - jsp-config - security-constraint - login-config - security-role - message-destination - locale-encoding-mapping-list Error indicated
by: {http://java.sun.com/xml/ns/javaee} with code:
提示的错误:
cvc-id.3: A field of identity constraint 'web-app-servlet-name-uniqueness' matched element 'web-app', but this element does not have a simple type.
这个应该怎么解决呀