Accepted answer

you don't have servlet-api.jar in your classpath of your webapplication project. please add this jar to your classpath.

multiple annotations found at this line:

this happens sometimes when dom validation happens in the editor for jsp files as well


please build your project with adding servlet-api.jar available in your classpath along with its .tld file.


multiple annotations found at this line: - the import javax.servlet cannot be resolved.

if you use eclipse in case of add servlet-api.jar to javabuild path option if you don't use any edtior then set the class path of servlet-api.jar

this type of error only for not found the required class so please add servlet-api.jar file

Related Query

More Query from same tag