How to find my servlet for web.xml?
<p>I am using <code>wildfly</code>, <code>JBOSS</code>
And I made a <code>Servlet</code>...called <code>ServletImg</code> </p>

<p>My folder structure looks like this:</p>

<p>WebContent/WEB-INF/classes/ServletImg.java</p>

<p>Now i am trying to add him into the <code>web.xml</code> file...like this:</p>

<pre><code>  &lt;servlet&gt;
     &lt;servlet-name&gt;ServletImg&lt;/servlet-name&gt;
     &lt;servlet-class&gt;ServletImg&lt;/servlet-class&gt; &lt;!-- Here is the problem --&gt;
  &lt;/servlet&gt;

  &lt;servlet-mapping&gt;
     &lt;servlet-name&gt;ServletImg&lt;/servlet-name&gt;
     &lt;url-pattern&gt;/ServletImg&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt; 
</code></pre>

<p>Error msg: </p>

<blockquote>
  <p><code>servlet.class</code> must be valid fully qualified class name </p>
</blockquote>

<p>Any suggestions on resolving the issue?</p>