Results 1 to 4 of 4
  1. #1
    chizbox is offline Member
    Join Date
    Feb 2010
    Location
    Philippines
    Posts
    20
    Rep Power
    0

    Default HttpServlet Cannot be resolved to a type

    Guys Help me when importing or creating a dynamic web project
    Java Problems Occurs.

    when i create a new servlet eclispe dosnt seem to find the package for servlets.

    HttpServlet cannot be resolved to a type.

    i dont know what i happened. it used to be working all the while till now.
    hope you can get me answers .

    thanks guys!

  2. #2
    ziaf is offline Member
    Join Date
    Mar 2010
    Posts
    8
    Rep Power
    0

    Default

    well am not working with web projects, still i feel that it is your build path issue

  3. #3
    chizbox is offline Member
    Join Date
    Feb 2010
    Location
    Philippines
    Posts
    20
    Rep Power
    0

    Default

    I have many projects on my workspace and all of them has the same error. i have been to its build path but i cant seem to find out what is the problem

  4. #4
    epilisantosha07@gmail.com is offline Santosha Epili
    Join Date
    Jul 2012
    Posts
    5
    Rep Power
    0

    Default Re: HttpServlet Cannot be resolved to a type

    just import a package in the buildpath servlet-api.jar file with a version greater than 3.0

Similar Threads

  1. Filter cannot be resolved to a type??
    By Harrie_KalaChakra in forum Eclipse
    Replies: 1
    Last Post: 01-15-2010, 09:19 AM
  2. HttpServlet
    By paul21 in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 11-07-2009, 04:20 AM
  3. HTTPServlet library
    By Robert_85 in forum Advanced Java
    Replies: 1
    Last Post: 04-10-2009, 08:28 PM
  4. Replies: 1
    Last Post: 12-18-2007, 10:41 AM
  5. HttpServlet
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-17-2007, 07:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •