org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 5,391 in the jsp file: /navpoint/macNavLinks-macNavLinks.59.jsp Set cannot be resolved to a type 5388:     if(skuPrice!=null){ 5389: 5390:         // DETERMINE IF SKU IS RETAIL-ONLY     5391:         Set<String> retailOnlySkuSet = new HashSet<String>(Arrays.asList( 5392:                 "9651402", 5393:                 "9737346", 5394:                 "9737378", An error occurred at line: 5,391 in the jsp file: /navpoint/macNavLinks-macNavLinks.59.jsp HashSet cannot be resolved to a type 5388:     if(skuPrice!=null){ 5389: 5390:         // DETERMINE IF SKU IS RETAIL-ONLY     5391:         Set<String> retailOnlySkuSet = new HashSet<String>(Arrays.asList( 5392:                 "9651402", 5393:                 "9737346", 5394:                 "9737378", An error occurred at line: 5,391 in the jsp file: /navpoint/macNavLinks-macNavLinks.59.jsp Arrays cannot be resolved 5388:     if(skuPrice!=null){ 5389: 5390:         // DETERMINE IF SKU IS RETAIL-ONLY     5391:         Set<String> retailOnlySkuSet = new HashSet<String>(Arrays.asList( 5392:                 "9651402", 5393:                 "9737346", 5394:                 "9737378", An error occurred at line: 5,434 in the jsp file: /navpoint/macNavLinks-macNavLinks.59.jsp Set cannot be resolved to a type 5431:                 "9846692" 5432:         )); 5433: 5434:         Set<String> retailOnlyMfrSet = new HashSet<String>(Arrays.asList( 5435:                 "verizon apple iphone", 5436:                 "verizon samsung phones", 5437:                 "verizon motorola phones", An error occurred at line: 5,434 in the jsp file: /navpoint/macNavLinks-macNavLinks.59.jsp HashSet cannot be resolved to a type 5431:                 "9846692" 5432:         )); 5433: 5434:         Set<String> retailOnlyMfrSet = new HashSet<String>(Arrays.asList( 5435:                 "verizon apple iphone", 5436:                 "verizon samsung phones", 5437:                 "verizon motorola phones", An error occurred at line: 5,434 in the jsp file: /navpoint/macNavLinks-macNavLinks.59.jsp Arrays cannot be resolved 5431:                 "9846692" 5432:         )); 5433: 5434:         Set<String> retailOnlyMfrSet = new HashSet<String>(Arrays.asList( 5435:                 "verizon apple iphone", 5436:                 "verizon samsung phones", 5437:                 "verizon motorola phones", Stacktrace:

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via macmall.com by Unknown author, 1 year ago
Unable to compile class for JSP: An error occurred at line: 5,391 in the jsp file: /navpoint/macNavLinks-macNavLinks.59.jsp Set cannot be resolved to a type 5388:     if(skuPrice!=null){ 5389: 5390:         // DETERMINE IF SKU IS RETAIL-ONLY
via Google Groups by Matt Farnell, 2 years ago
Unable to compile class for JSP: An error occurred at line: 11 in the generated java file org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type And the first part of the stacktrace is: Stacktrace:
via jboss.org by Unknown author, 1 year ago
Unable to compile class for JSP An error occurred at line: 5 in the jsp file: /Index.jsp Generated servlet error: The method setId(String) in the type UIComponentClassicTagBase is not applicable for the arguments (JspValueExpression) .. .. An error
via howopensource.com by Unknown author, 1 year ago
Unable to compile class for JSP: An error occurred at line: 1 in the generated java file The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files Stacktrace:
via openmrs.org by Unknown author, 1 year ago
Unable to compile class for JSP: An error occurred at line: [180] in the generated java file: [/home/bahmni/apache-tomcat-8.0.12/work/Catalina/localhost/openmrs/org/apache/jsp/errorhandler_jsp.java] Syntax error, insert "}" to complete Block Stacktrace:
via Stack Overflow by Lev
, 10 months ago
No se puede compilar la clase para JSP: Ha tenido lugar un error en la línea: [16] en el fichero java generado: [C:\Proyecto\tomcat\apache-tomcat-9.0.0.M15-windows-x64\apache-tomcat-9.0.0.M15\work\Catalina\localhost\Gest1\org\apache\jsp\Test_jsp.java] Only a type can be imported. oracle.jdbc.OracleDriver resolves to a package Stacktrace:
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 5,391 in the jsp file: /navpoint/macNavLinks-macNavLinks.59.jsp Set cannot be resolved to a type 5388:     if(skuPrice!=null){ 5389: 5390:         // DETERMINE IF SKU IS RETAIL-ONLY     5391:         Set<String> retailOnlySkuSet = new HashSet<String>(Arrays.asList( 5392:                 "9651402", 5393:                 "9737346", 5394:                 "9737378", An error occurred at line: 5,391 in the jsp file: /navpoint/macNavLinks-macNavLinks.59.jsp HashSet cannot be resolved to a type 5388:     if(skuPrice!=null){ 5389: 5390:         // DETERMINE IF SKU IS RETAIL-ONLY     5391:         Set<String> retailOnlySkuSet = new HashSet<String>(Arrays.asList( 5392:                 "9651402", 5393:                 "9737346", 5394:                 "9737378", An error occurred at line: 5,391 in the jsp file: /navpoint/macNavLinks-macNavLinks.59.jsp Arrays cannot be resolved 5388:     if(skuPrice!=null){ 5389: 5390:         // DETERMINE IF SKU IS RETAIL-ONLY     5391:         Set<String> retailOnlySkuSet = new HashSet<String>(Arrays.asList( 5392:                 "9651402", 5393:                 "9737346", 5394:                 "9737378", An error occurred at line: 5,434 in the jsp file: /navpoint/macNavLinks-macNavLinks.59.jsp Set cannot be resolved to a type 5431:                 "9846692" 5432:         )); 5433: 5434:         Set<String> retailOnlyMfrSet = new HashSet<String>(Arrays.asList( 5435:                 "verizon apple iphone", 5436:                 "verizon samsung phones", 5437:                 "verizon motorola phones", An error occurred at line: 5,434 in the jsp file: /navpoint/macNavLinks-macNavLinks.59.jsp HashSet cannot be resolved to a type 5431:                 "9846692" 5432:         )); 5433: 5434:         Set<String> retailOnlyMfrSet = new HashSet<String>(Arrays.asList( 5435:                 "verizon apple iphone", 5436:                 "verizon samsung phones", 5437:                 "verizon motorola phones", An error occurred at line: 5,434 in the jsp file: /navpoint/macNavLinks-macNavLinks.59.jsp Arrays cannot be resolved 5431:                 "9846692" 5432:         )); 5433: 5434:         Set<String> retailOnlyMfrSet = new HashSet<String>(Arrays.asList( 5435:                 "verizon apple iphone", 5436:                 "verizon samsung phones", 5437:                 "verizon motorola phones", Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:468)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
at org.apache.jasper.compiler.JspRuntimeContext.checkCompile(JspRuntimeContext.java:402)
at org.apache.catalina.core.StandardWrapper.backgroundProcess(StandardWrapper.java:717)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
12 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
34 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.