title: How to avoid CHKJ3010W: Welcome Files cannot begin or end with a /
body: <p>My welcome file list looks like below:</p>
  
  <pre><code>&lt;welcome-file-list&gt;
      &lt;welcome-file&gt;/WEB-INF/jsp/index.jsp&lt;/welcome-file&gt;
  &lt;/welcome-file-list&gt;
  </code></pre>
  
  <p>This raises below warning in Eclipse:</p>
  
  <pre><code>CHKJ3010W: Welcome Files cannot begin or end with a /.  in web.xml  
  </code></pre>
  
  <p>If we remove the / in front of WEB-INF, the page is not properly served in JBoss. If we add the / we are getting above mentioned warning.</p>
  
  <p>How to avoid this warning?</p>