启动没有特殊操作的程序时,我发现此错误。在另一台计算机上启动的相同相同程序不会产生错误。 这是错误:
HTTP状态500-内部服务器错误
type Exception report
messageInternal Server Error
descriptionThe server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP
PWC6199: Generated servlet error:
source value 1.5 is obsolete and will be removed in a future release
PWC6199: Generated servlet error:
target value 1.5 is obsolete and will be removed in a future release
PWC6199: Generated servlet error:
To suppress warnings about obsolete options, use -Xlint:-options.
PWC6197: An error occurred at line: 9 in the jsp file: /jsp/Bacheca.jsp
PWC6199: Generated servlet error:
diamond operator is not supported in -source 1.5
(use -source 7 or higher to enable diamond operator)
注意:在GlassFish Server Open Source Edition 4.1日志中可以找到该异常及其原因的完整堆栈跟踪。
GlassFish Server开源版4.1