13:03:42,426 ERROR org.smart4j.framework.util.WebUtil (169) - 发送错误代码出错!
java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:450)
at org.smart4j.framework.util.WebUtil.sendError(WebUtil.java:167)
at org.smart4j.framework.mvc.impl.DefaultHandlerExceptionResolver.resolveHandlerException(DefaultHandlerExceptionResolver.java:46)
在tomcat+nginx下部署,访问首页报错。
smart.framework.app.home_page=/login
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
15:14:17,283 ERROR org.smart4j.framework.util.WebUtil (145) - 转发请求出错!
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: In URL tags, when the "context" attribute is specified, values of both "context" and "url" must start with "/".
Caused by: javax.servlet.ServletException: In URL tags, when the "context" attribute is specified, values of both "context" and "url" must start with "/".
The problem is that the "context" attribute of the "<c:url />" tag cannot have an empty value. The empty value is returned by the "${requestContext.request.contextPath}" expression (see the Servlet API::HttpServletRequest.getContextPath() to know the reason).
对应global.jsp中的<c:set var="BASE" value="${pageContext.request.contextPath}"/>
登录 后才可以发表评论