不要使用 web.xml 檔中的 kodo.remote.PersistenceServerServlet

This rule detects the presence of a servlet definition in the web.xml file, where the <servlet-class> element is set to kodo.remote.PersistenceServerServlet . 該 web.xml 檔案必須位於 WEB-INF 資料夾內。 自動修復將刪除 servlet 項目和相關的 servlet 映射項目。

下表提供了 web.xml 元素 被偵測和刪除的元素:

WEB-INF 資料夾中的 web.xml

...
<servlet id="Servlet_123">
    <servlet-name>TheServletName</servlet-name>
    <servlet-class>kodo.remote.PersistenceServerServlet</servlet-class>
</servlet>

...

<servlet-mapping>
    <servlet-name>TheServletName</servlet-name>
    <url-pattern>/anyURIPath</url-pattern>
</servlet-mapping>

...