Skip to main content



      Home
Home » Newcomers » Newcomers » Embed Jetty 10.X upgrade issue(Facing issue with Jetty upgrade to 9.x to 10.x)
Embed Jetty 10.X upgrade issue [message #1853790] Mon, 18 July 2022 07:51 Go to next message
Eclipse UserFriend
Hi All,

I have upgraded the Jetty 9.x to Jetty 10.x , I am using Java 11 version but my source code compatibility is 1.8. I am facing JSP compilation issues. Can anyone please give some suggestion or some clue how to cross this barrier.

Here is the Exception:-


HTTP ERROR 500 org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [39] in the generated java file: [/opt/tcpwave/tims/IPAM/serverTempDir/jEtTySERver/jsp/org/apache/jsp/login_jsp.java] The return type is incompatible with JspSourceDependent.getDependants() Stacktrace:
URI: /tims/login
STATUS: 500
MESSAGE: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [39] in the generated java file: [/opt/tcpwave/tims/IPAM/serverTempDir/jEtTySERver/jsp/org/apache/jsp/login_jsp.java] The return type is incompatible with JspSourceDependent.getDependants() Stacktrace:
SERVLET: login
CAUSED BY: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [39] in the generated java file: [/opt/tcpwave/tims/IPAM/serverTempDir/jEtTySERver/jsp/org/apache/jsp/login_jsp.java] The return type is incompatible with JspSourceDependent.getDependants() Stacktrace:
Caused by:
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [39] in the generated java file: [/opt/tcpwave/tims/IPAM/serverTempDir/jEtTySERver/jsp/org/apache/jsp/login_jsp.java]
The return type is incompatible with JspSourceDependent.getDependants()

Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:213)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:487)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:397)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:605)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
Re: Embed Jetty 10.X upgrade issue [message #1853794 is a reply to message #1853790] Mon, 18 July 2022 09:07 Go to previous message
Eclipse UserFriend
You might have better luck using one of the avenues listed at https://www.eclipse.org/jetty/support.php .
Previous Topic:java.security.AccessControlException
Next Topic: have a problem with programming
Goto Forum:
  


Current Time: Tue Jul 08 01:12:36 EDT 2025

Powered by FUDForum. Page generated in 0.07264 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top