The EL expression cannot be used in Maven creation projects silently looking at the problem under the rain
Today, when I was learning MyBatis with the MU class network, I encountered an issue in which you could not use EL expressions in Maven creation projects.
Workaround
1. Add maven dependencies mainly Standard.jar and Jstl.jar
<!--https://mvnrepository.com/artifact/taglibs/standard --<dependency> <groupId>taglibs</groupId> <artifactid>standard</artifactid& Gt <version>1.1. 2</version> </dependency> <!--https://mvnrepository.com/artifact/javax.servlet/jstl --<dependency> <groupId>javax.servlet</groupId> <artifactid>jstl</artifacti D> <version>1.2</version> </dependency>
2.web.xml problems
Must be in the following format
<?xml version= "1.0" encoding= "UTF-8"?><web-app xmlns= "http://java.sun.com/xml/ns/javaee" xmlns:xsi=" Http://www.w3.org/2001/XMLSchema-instance "xsi:schemalocation=" http://java.sun.com/xml/ns/ Java ee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd "version=" 3.0"> </Web-app>
References
http://blog.csdn.net/yuguiyang1990/article/details/10419759
http://www.programgo.com/article/41062042529/
Welcome to the Xiaoshujiang editor , where you can change the contents of a new article by modifying the template in the settings .
The EL expression cannot be used in a MAVEN-created project