cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

missing type javax.servlet.http.HttpServletRequest

Former Member
0 Likes
5,092

Hi All,

I have imported a par file.its giving an error after build---

Error The project was not built since its classpath is incomplete. Cannot find the class file for javax.servlet.http.HttpServletRequest. Fix the classpath then try rebuilding this project.

Error This compilation unit indirectly references the missing type javax.servlet.http.HttpServletRequest (typically some required class file is referencing a type outside the classpath)

Please help me fix this error ....from where can i get the missing..type javax.servlet.http.HttpServletRequest

View Entire Topic
Former Member
0 Likes

Hi shikha singh ,

You need to have the corresponding ".Jar" file for using the "javax.servlet.http.HttpServletRequest" class

Do this.

Just right click on project to properties->java build path-> add external jars add the jar file servlet.jar

search in your NWDS installed location for Jar files.

thanks

Suresh