Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

The import javax.servlet; can not be resolved

843841Nov 8 2007 — edited Nov 9 2007
Hi,

This is my first time tyring to compile a servlet in Eclipse 3.3. I have serveral errors like "Can not resolve import javax.servlet..." I did include the location of the servlet-api.jar file in my classpath. And not just classpath but I included the location to variables PATH, JAVA_HOME just in case but still no luck. I have browsed the web enough, and tried all the tricks of the trade. I am using jdk1.6_02 and tomcat 5.5.25.
Can anybody help,

Thanks in advance!

Codesingh!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 7 2007
Added on Nov 8 2007
1 comment
456 views