JSP mysql 求助:打开http://localhost:8080/myapp/first.jsp出现以下错误代码是什么意思?
HTTPStatus500------------------------------------------------------------------------...
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 5 in the jsp file: /myapp/first.jsp
Generated servlet error:
D:\Tomcat5.0\work\Catalina\localhost\_\org\apache\jsp\myapp\first_jsp.java:48: unclosed string literal
An error occurred at line: 5 in the jsp file: /myapp/first.jsp
Generated servlet error:
String url ="jdbc:mysql:
^
An error occurred at line: 5 in the jsp file: /myapp/first.jsp
Generated servlet error:
D:\Tomcat5.0\work\Catalina\localhost\_\org\apache\jsp\myapp\first_jsp.java:51: unclosed string literal
true&characterEncoding=8859_1"
^
2 errors
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
。。 展开
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 5 in the jsp file: /myapp/first.jsp
Generated servlet error:
D:\Tomcat5.0\work\Catalina\localhost\_\org\apache\jsp\myapp\first_jsp.java:48: unclosed string literal
An error occurred at line: 5 in the jsp file: /myapp/first.jsp
Generated servlet error:
String url ="jdbc:mysql:
^
An error occurred at line: 5 in the jsp file: /myapp/first.jsp
Generated servlet error:
D:\Tomcat5.0\work\Catalina\localhost\_\org\apache\jsp\myapp\first_jsp.java:51: unclosed string literal
true&characterEncoding=8859_1"
^
2 errors
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
。。 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询