Jetty API 在 WebSphere Traditional 或 Liberty 中不可用。
此規則會掃描 Java 檔案以找出 org.eclipse.jetty 套件及子套件。
如果應用程式使用先前提及的任何 Jetty 套件,則必須將程式碼變更為使用 Java 開發套件 (JDK) 提供的 API 或 WebSphere Application Server 提供的 API。
此規則也會標示下列 Jetty 部署描述子:
WEB-INF/web-jetty.xmlWEB-INF/jetty-web.xml需要複查這些檔案的內容,並進行適當轉換,才能在 WebSphere Application Server 上使用。
For additional information, see the Jetty documentation.