Inspectopedia 2024.3 Help

Web.xml warnings

Reports duplicated welcome-files listed in the descriptor for deploying a Web Module to a server.

Example:

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <welcome-file-list> <welcome-file> Welcome1.jsp </welcome-file> <welcome-file> /Welcome1.jsp // Error: duplicated welcome-file </welcome-file> <welcome-file> Welcome3.jsp </welcome-file> </welcome-file-list> </web-app>

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

WebWarnings
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | Java EE

Inspection Details

By default bundled with:

IntelliJ IDEA 2024.3, Qodana for JVM 2024.3,

Can be installed with plugin:

Jakarta EE: Web/Servlets, 243.23126

Last modified: 03 December 2024