一、出错笔记总结
1、建工程出错需要在pom.xml中配置:
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.0-b01</version>
</dependency>
2、端口被占用:
netstat -aon | findstr "8080"
taskkill /pid 21184 /F
3、使用EL表达式需要加上:
<%@ page isELIgnored="false"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>