ERROR: org.apache.jasper.JasperException after deploying the project

I couldnt understand why there is problem after deploying the project. It is working fine while running in netbeans with postgreSQL. BUT after deployiing the project in tomcat server I get error like follows:

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [42] in the generated java file: [C:Program FilesApache Software FoundationTomcat 8.0workCatalinalocalhostLEAVEorgapachejspindex_jsp.java]
The method getDispatcherType() is undefined for the type HttpServletRequest


Source: jsp

Leave a Reply