第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

老鐵們,幫我看看這兩個問題怎么解決啊

http://img1.sycdn.imooc.com//59fc22250001f34d14000976.jpg

http://img1.sycdn.imooc.com//59fc22270001583714000976.jpg



http://img1.sycdn.imooc.com//59fc2229000111b814000976.jpg



第一個異常:

?Servlet should have a mapping less... (Ctrl+F1)?

Checks if all servlets have mappings


第二個異常:Cannot resolve Servlet 'ListServlet' less... (Ctrl+F1)?

This inspection lets you spot the following problems that might occur in descriptors that are used to deploy your Web Module to a server:

References to the non-instantiable classes

References to the classes that do not extend required class

References to classes with inappropriate scope

Empty tag and attribute values

Tag and attribute values that do not match required pattern (e.g. Java Identifiers)

Tags that do not include required children tags or attributes

Tags that define objects with duplicate names


正在回答

3 回答

你沒有導(dǎo)入你的servlet jar包 在你的tomcat安裝目錄下的lib里面, 要導(dǎo)入servlet.api就可以了

0 回復(fù) 有任何疑惑可以回復(fù)我~

解決了么?


0 回復(fù) 有任何疑惑可以回復(fù)我~

第一:我看到你使用maven ?但是你的jar包有沒有在pom.xml中的依賴中搞定;

第二:我看到你的跳轉(zhuǎn)語句好像有問題;

第三:可能是你的約束條件有問題

<web-app version="2.5"?

xmlns="http://java.sun.com/xml/ns/javaee"?

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"?

xsi:schemaLocation="http://java.sun.com/xml/ns/javaee?

http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

</web-app>

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消

老鐵們,幫我看看這兩個問題怎么解決啊

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號