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 cannot be resolved - What do I wrong?

843833Apr 28 2005 — edited Aug 23 2010
Hi colleagues,

for the beginning I wrote a small HelloWorld Servlet in Eclipse but the compiler
tells: The import javax.servlet cannot be resolved.

For using J2EE I installed Eclipse 3.0.1, j2sdk1.4.2_07, Sun Java System Application Server Platform Edition 8.1 and J2EE 1.4 SDK Samples and I add the path for J2EE in Eclipse by navigating Window -> Preferences -> Java -> Build Path -> Classpath Variables and adding J2EE_HOME d:\Progs\Sun\AppServer.

What did I wrong? Or must I install something else so that it works (e.g. some plugin)?

Thank you for answering me.
Byebye,
Anjuli

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 20 2010
Added on Apr 28 2005
7 comments
5,765 views