为了账号安全,请及时绑定邮箱和手机立即绑定

javaee这段文字的错误是什么意思

javaee这段文字的错误是什么意思

漫之旅 2016-06-21 01:06:17
HTTP Status 500 - /index.jsp (line: 1, column: 84) The JSP specification requires that an attribute name is preceded by whitespacetype Exception reportmessage /index.jsp (line: 1, column: 84) The JSP specification requires that an attribute name is preceded by whitespacedescription The server encountered an internal error that prevented it from fulfilling this request.exception org.apache.jasper.JasperException: /index.jsp (line: 1, column: 84) The JSP specification requires that an attribute name is preceded by whitespace org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:443) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:89) org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:164) org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:183) org.apache.jasper.compiler.ParserController.getPageEncodingForJspSyntax(ParserController.java:479) org.apache.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:420) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:190) org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:119) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:193) org.apache.jasper.compiler.Compiler.compile(Compiler.java:373) org.apache.jasper.compiler.Compiler.compile(Compiler.java:353) org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)note The full stack trace of the root cause is available in the Apache Tomcat/7.0.52 logs.
查看完整描述

4 回答

?
Castle__

TA贡献9条经验 获得超5个赞

index.jsp 这个页面第1行大概是第84个字符,标签里面的两个属性之间没有空格

<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>

查看完整回答
反对 回复 2016-06-21
?
yanrun

TA贡献317条经验 获得超240个赞

这个错误的意思大概是:JSP规范要求一个属性的名字之前有空格。

查看完整回答
反对 回复 2016-06-21
?
梦影剑魂

TA贡献66条经验 获得超21个赞

500是源代码有错误,在index.jsp的第一行

查看完整回答
反对 回复 2016-06-21
  • 4 回答
  • 0 关注
  • 24165 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信