How maven-managed Jsp-web applications add Servlets, JSP-dependent dependencies (org.apache.jasper.JasperException:java.lang.ClassNotFoundException: ORG.APACHE.JSP.INDEX_JSP)

Source: Internet
Author: User

Obviously Tomcat has these packages underneath, but it also needs to add this dependency to Maven dependencies

   <!--introduction of Servlet start -        <Dependency>            <groupId>Javax.servlet</groupId>            <Artifactid>Javax.servlet-api</Artifactid>            <version>3.1.0</version>        </Dependency>        <!--introduction of Servlet end -        <!--introduction of JSP related start -        <Dependency>            <groupId>javax.servlet.jsp</groupId>            <Artifactid>Jsp-api</Artifactid>            <version>2.2</version>        </Dependency>        <!--introduction of JSP related end -        <!--introduction of Javaee7 start -        <Dependency>            <groupId>Javax</groupId>            <Artifactid>Javaee-api</Artifactid>            <version>7.0</version>        </Dependency>        <!--Introduction Javaee7 End -        <!--introduction of Jstl start -        <Dependency>            <groupId>Jstl</groupId>            <Artifactid>Jstl</Artifactid>            <version>1.2</version>        </Dependency>

It's OK!!

Transfer from original author blog: 78472670?locationnum=5&fps=1

How maven-managed Jsp-web applications add Servlets, JSP-dependent dependencies (org.apache.jasper.JasperException:java.lang.ClassNotFoundException: ORG.APACHE.JSP.INDEX_JSP)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.