Using jetty embedded mode to run WebApp, access the JSP page when the error WEB-JSPTAGLIBRARY_1_2.DTD not found
Look for the javax bag in the project does not have what he said Web-jsptaglibrary_1_2.dtd resource file, guess is the introduction of the JSTL package is wrong.
Solution Method:
All of the jar packages needed for jetty should be taken from the Jetty-project project, so that the problem of the jar bundle referencing errors can be avoided.
Other jar package Reference errors can also be used to draw on this pattern.
1. Confirm your use of the jetty version, such as 8.1.9.v20130131
2. Find Jetty-project in the MAVEN central repository, path: org/eclipse/jetty/jetty-project
3. Find the required dependencies in the POM corresponding to the version number and put them in your pom, take jstl for example:
<dependency>
<groupId>org.eclipse.jetty.orbit</groupId>
<artifactId> javax.servlet.jsp.jstl</artifactid>
<version>1.2.0.v201105211821</version>
</ Dependency>
4. After introduction, note whether there is a version conflict with the jar package in the POM