我得到了我的日食火星中的錯誤。它不會顯示任何彈出這些錯誤。即使出現錯誤,我也能夠成功運行,但在這種情況下,這也是一個問題。Jsp顯示錯誤
錯誤:
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 13 in the jsp file: /HelloWorld.jsp
Date cannot be resolved to a type
10:
11: <%
12:
13: Date today = new java.util.Date();
14:
15: String text = "Today's date is: " + today.toString();
16: %>