1、异常:
![](https://i-blog.csdnimg.cn/blog_migrate/8c401bcc7d6f709229e3b76f6435b34e.png)
严重: Servlet.service() for servlet [jsp] in context with path [/JspLoginDemo] threw exception [/dologin1.jsp (line: 3, column: 36) quote symbol expected] with root cause
org.apache.jasper.JasperException: /dologin1.jsp (line: 3, column: 36) quote symbol expectedat org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:275)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:91)
问题解决:
使用<jsp:useBean>标签时忘记双引号
<jsp:useBean id="loginUsers" class="po.Users" scope="page"/>
2、异常(eclipse)
类中找不到main方法,请将main方法定义为public static void main.
否则 JavaFX 应用程序类必须扩展javafx.application.Application
解决:是因为文件修改后没保存!!!!