• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1225
  • Last Modified:

java.lang.IllegalArgumentException

Hi,
I make sure i have in my web.xml elements shown below, but i am still
getting:
java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name CreateIPStringServlet.

What i might be missing?

====================== web.xml elements ======================

      <servelt>
            <servlet-name>CreateIPStringServlet</servlet-name>
            <servlet-class>
                  core.com.optintelligence.admin.CreateIPStringServlet
            </servlet-class>      
      </servelt>
==========
<servlet-mapping>
            <servlet-name>CreateIPStringServlet</servlet-name>
            <url-pattern>/CreateIPStringServlet</url-pattern>
      </servlet-mapping>
0
komlaaa
Asked:
komlaaa
1 Solution
 
suprapto45Commented:
Hi,

Should the <servelt> be <servlet>?

    <servelt>  <!-- HERE -->
          <servlet-name>CreateIPStringServlet</servlet-name>
          <servlet-class>
               core.com.optintelligence.admin.CreateIPStringServlet
          </servlet-class>    
     </servelt> <!-- HERE -->

David
0
 
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
I think suprapto45 is correct servlet spelling is wrong in web.xml
0
 
fargoCommented:
shivaspk..stop repeating the comments from other experts.
0
 
komlaaaAuthor Commented:
Hey David, u r right, thanks for catching that typo.
I appreciate... i need to be more careful :)
0
 
suprapto45Commented:
No problem and glad I could help ;)

David
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now