如图:
解决方法:
加入以下代码到你的jsp页面中
加在头部
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%=basePath%>
加在你引用的<link>
tag中
如:
<link href="<%=basePath%>/css/sign-in.css?v=<%= System.currentTimeMillis()%>" rel="stylesheet">
问题解决!