The content of element type "web-app" must match解决

阅读更多
The content of element type "web-app" must match解决
关键字: web
The content of element type "web-app" must match "(

icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*, resource-ref*,security-constraint*,login-config?,security-role*, env-entry*,ejb-ref*,ejb-local-ref*)"

如果web-app上出现红叉,不要怕,看一看自己的web.xml文件里标签的顺序是否与它给出来的一致,

从上往下一定要遵循给出来的顺序

你可能感兴趣的:(Web,EJB,Security,Servlet,XML)