IDE netbeans 8.0.2中服务器内部错误

时间:2018-12-30 11:10:45

标签: jsp servlets server compiler-errors

启动没有特殊操作的程序时,我发现此错误。在另一台计算机上启动的相同相同程序不会产生错误。 这是错误:

  

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

0 个答案:

没有答案