Fork me on GitHub

一、出错笔记总结

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 + "/";
%>

posted @ 2016-11-11 14:03  极度恐慌_JG  阅读(172)  评论(0编辑  收藏  举报