Site icon NgDeveloper

The import javax.servlet.annotation cannot be resolved

Problem:

Solution:

Download the servlet-api-3.0 and put this in lib of web-inf.

Note: For javax.servlet import servlet-api 2.4 is enough, only for javax.servlet.annotation we need servlet-api-3.0.

 

Exit mobile version