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!

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
500 views