Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse RT (runtime) » Equinox OSGi based JSP Support and JDK8
Equinox OSGi based JSP Support and JDK8 [message #1419372] Mon, 08 September 2014 14:01
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 243
Registered: March 2010
Location: France
Senior Member
Hello trying to run an application in equinox runtime with JSP support (https://www.eclipse.org/equinox/server/jsp_support.php)

Everything works fine running it with JDK 7 but fails with JDK 8 (see error below)

It seems Jasper version available for JSP in equinox cannot be used with JDK 8
Is there any known workaround ? or should I create a bug asking for Jasper upgrade ?


PWC6197: An error occurred at line: 6 in the jsp file: /login.do
PWC6199: Generated servlet error:
The method contains(CharSequence) from the type String refers to the missing type CharSequence


at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:129)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:299)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:392)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet.java:155)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:38)

[Updated on: Tue, 09 September 2014 22:36]

Report message to a moderator

Previous Topic:Use RCP in the Windows default OPen
Next Topic:Unable toinstall Eclipse on Windows 8.1 laptop
Goto Forum:
  


Current Time: Thu Apr 25 06:40:44 GMT 2024

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

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

Back to the top