Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 11:51 Go to next message
Manohar King is currently offline Manohar KingFriend
Messages: 1
Registered: July 2022
Junior Member
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 13:07 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4310
Registered: July 2009
Senior Member

You might have better luck using one of the avenues listed at https://www.eclipse.org/jetty/support.php .

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:java.security.AccessControlException
Next Topic: have a problem with programming
Goto Forum:
  


Current Time: Thu Feb 09 09:38:50 GMT 2023

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

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

Back to the top