錯誤資訊為:
- Attribute "xmlns:xsi" must be declared for element type "web-app".
- - Attribute "xsi:schemaLocation" must be declared for element type "web-app".
- Attribute "version" must be declared for element type "web-app".
- - Attribute "xmlns" must be declared for element type "web-app".
解決:原因是<web-app>必須要放在首行,前面不要有注釋,如果有删掉,之後按Ctrl+S儲存,就沒有錯誤了。