Jump to content


Can't Import Javax Servlets


  • Please log in to reply
No replies to this topic

#1 tcoder

tcoder

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 24 July 2012 - 07:10 PM

I added the javax jar file using the profile modifier. I added servlet.jar.  When I try to compile my file, I get: Class javax.servlet.ServletException not found in import.

import javax.servlet.ServletException;

Looking at the contents of servlet.jar shows that the class is definitely contained in the file.  After I added the jar file, I restarted JCreator but I still get the error. Can someone help me with this? This is my first time using this IDE.

Terry