Results 1 to 3 of 3
  1. #1
    krishnaanu is offline Member
    Join Date
    Nov 2009
    Rep Power

    Default problem with eclipse galileo

    Hi everybody, I am chaitanya, I recently started using eclipse galileo the latest version(I think), I have a problem with that.

    I am using tomcat6.0 web server and java1.6. I downloaded servlet api and placed it in my jre. Now when I want to write a servlet and compile it from eclipse, I am getting a warning like this:

    Access restriction: The type HttpServlet is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\ext\servlet-api.jar.

    This is my java file

    Java Code:
    package myservlets;
    import javax.servlet.http.*;
    public class SimpleServlet extends HttpServlet
    //code here
    How can I get rid of this warning. Please help me.

  2. #2
    krishnaanu is offline Member
    Join Date
    Nov 2009
    Rep Power


    Hi everybody, my problem has been solved.

  3. #3
    lisudza is offline Member
    Join Date
    Jun 2010
    Rep Power

    Default Please post the solution


    I was wondering if you could post the solution to the above problem since am facing the same.

    Thnx in advance

Similar Threads

  1. Eclipse Problem
    By murat62 in forum New To Java
    Replies: 2
    Last Post: 10-08-2009, 01:27 AM
  2. Eclipse galileo with CDT 6.0
    By vin_pll in forum Eclipse
    Replies: 0
    Last Post: 09-08-2009, 07:04 PM
  3. RAM Problem Eclipse
    By samKnop in forum Eclipse
    Replies: 3
    Last Post: 04-21-2009, 06:56 AM
  4. having problem with eclipse
    By sengupta_piyal06 in forum Eclipse
    Replies: 1
    Last Post: 11-21-2008, 06:29 PM
  5. Eclipse AST problem
    By java_neophyte in forum Eclipse
    Replies: 0
    Last Post: 10-04-2008, 12:49 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