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:

macmall.com | 3 months ago
  1. 0

    Application Error

    macmall.com | 3 months ago
    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:
  2. 0

    Application Error

    pcm.com | 8 months ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 3,030 in the jsp file: /navpoint/customPages-2509.jsp productionHelper_mall_pages_categoryMktgPages_fujitsuStylisticQ550_33 cannot be resolved to a variable 3027:   <td  height='5'><%-- Widget mall.pages.categoryMktgPages.fujitsuStylisticQ550@33 (type=mall.widgetti.common.PageDataList) --%> 3028: <% 3029: try { 3030: WbdProductionHelper helper = productionHelper_mall_pages_categoryMktgPages_fujitsuStylisticQ550_33; 3031: String snippetVar_widgetName = "@33"; 3032: String snippetVar_widgetPath = "mall.pages.categoryMktgPages.fujitsuStylisticQ550@33"; 3033: String snippetVar_elementId = ""; An error occurred at line: 3,037 in the jsp file: /navpoint/customPages-2509.jsp DataListProductionHelper cannot be resolved to a type 3034: String snippetVar_idDefinition = ""; 3035: %> 3036: <% 3037: DataListProductionHelper listHelper = (DataListProductionHelper) helper; 3038: 3039: String snippetVar_storeLabel = WbdCache.getStoreLabel(); 3040: // Perhaps don't display this list if there are no records An error occurred at line: 3,037 in the jsp file: /navpoint/customPages-2509.jsp DataListProductionHelper cannot be resolved to a type 3034: String snippetVar_idDefinition = ""; 3035: %> 3036: <% 3037: DataListProductionHelper listHelper = (DataListProductionHelper) helper; 3038: 3039: String snippetVar_storeLabel = WbdCache.getStoreLabel(); 3040: // Perhaps don't display this list if there are no records Stacktrace:
  3. 0

    Application Error

    com.au | 11 months ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [56] in the generated java file: [/home/slane/server/tomcat/work/Catalina/localhost/_/org/apache/jsp/navpoint/studylane_002d15_jsp.java] Only a type can be imported. tooltwist.studylane.models.menuWidget.MenuWidgetCategoryModel resolves to a package An error occurred at line: [57] in the generated java file: [/home/slane/server/tomcat/work/Catalina/localhost/_/org/apache/jsp/navpoint/studylane_002d15_jsp.java] Only a type can be imported. tooltwist.studylane.models.menuWidget.MenuWidgetCategoryItemModel resolves to a package An error occurred at line: 808 in the jsp file: /navpoint/studylane-15.jsp MenuWidgetCategoryModel cannot be resolved to a type 805: MenuWidgetProductionHelper h = (MenuWidgetProductionHelper) helper; 806: XData data = h.getData(jh); 807: 808: List<MenuWidgetCategoryModel> menuList = h.getMenuList(); 809: String iconLocation = "/studylane_t/images/icons/menu/v2"; 810: %> 811: An error occurred at line: 808 in the jsp file: /navpoint/studylane-15.jsp The method getMenuList() is undefined for the type MenuWidgetProductionHelper 805: MenuWidgetProductionHelper h = (MenuWidgetProductionHelper) helper; 806: XData data = h.getData(jh); 807: 808: List<MenuWidgetCategoryModel> menuList = h.getMenuList(); 809: String iconLocation = "/studylane_t/images/icons/menu/v2"; 810: %> 811: An error occurred at line: 826 in the jsp file: /navpoint/studylane-15.jsp MenuWidgetCategoryModel cannot be resolved to a type 823:         824:         <% 825:         boolean active = true; 826:         for ( MenuWidgetCategoryModel menu : menuList ) {%> 827:         828:            <li 829:             <%=JSPUtil.createDataLinkRedirect(menu.getNavpoint(), "data-link-redirect")%> An error occurred at line: 838 in the jsp file: /navpoint/studylane-15.jsp MenuWidgetCategoryItemModel cannot be resolved to a type 835:             836:             <ul class="visible-sub-menu "> 837:             838:             <%for ( MenuWidgetCategoryItemModel submenu : menu.getItems() ) {%> 839:             840:                    <li <%=JSPUtil.createDataLinkRedirect(submenu.getNavpoint(), "data-link-redirect")%>> 841:                     <%= submenu.getName()%> An error occurred at line: 856 in the jsp file: /navpoint/studylane-15.jsp MenuWidgetCategoryModel cannot be resolved to a type 853:    </div> 854:    <div class="hidden-menu"> 855:     856:     <%for ( MenuWidgetCategoryModel menu : menuList  ) { %> 857:     858:     <table 859:     id="<%=menu.getId()%>" An error occurred at line: 868 in the jsp file: /navpoint/studylane-15.jsp MenuWidgetCategoryItemModel cannot be resolved to a type 865: 866: 867: <%if ( menu.getColumnCount() < 2 ) { //UGLY SOLUTION :(   868: for (  MenuWidgetCategoryItemModel submenu : menu.getItems() ){ 869: %> 870: 871: <tr> An error occurred at line: 884 in the jsp file: /navpoint/studylane-15.jsp MenuWidgetCategoryItemModel cannot be resolved to a type 881: 882: <%} else if ( menu.getColumnCount() == 2 ) { 883: 884: List<MenuWidgetCategoryItemModel> menuItems = menu.getItems(); 885: int menuCount = menuItems.size(); 886: int menuCountCenter = (menuCount != 0)? (int)Math.ceil((double) menuCount / 2) : 0; 887: for ( int ctr = 0; ctr < menuCountCenter; ctr++ ){ An error occurred at line: 889 in the jsp file: /navpoint/studylane-15.jsp MenuWidgetCategoryItemModel cannot be resolved to a type 886: int menuCountCenter = (menuCount != 0)? (int)Math.ceil((double) menuCount / 2) : 0; 887: for ( int ctr = 0; ctr < menuCountCenter; ctr++ ){ 888: 889: MenuWidgetCategoryItemModel leftItem =  menuItems.get(ctr); 890: MenuWidgetCategoryItemModel rightItem = ( ctr + menuCountCenter >= menuCount )?null:menuItems.get( ctr + menuCountCenter ); 891: %> 892: An error occurred at line: 890 in the jsp file: /navpoint/studylane-15.jsp MenuWidgetCategoryItemModel cannot be resolved to a type 887: for ( int ctr = 0; ctr < menuCountCenter; ctr++ ){ 888: 889: MenuWidgetCategoryItemModel leftItem =  menuItems.get(ctr); 890: MenuWidgetCategoryItemModel rightItem = ( ctr + menuCountCenter >= menuCount )?null:menuItems.get( ctr + menuCountCenter ); 891: %> 892: 893: <tr> Stacktrace:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to compile class for JSP

    Coderanch | 9 years ago | Darren Alexandria
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 21 in the jsp file: /multifileUpload.jsp ServletFileUpload cannot be resolved 18: </td> 19: </tr> 20: <% 21: boolean isMultipart = ServletFileUpload.isMultipartContent(request); 22: if (!isMultipart) 23: { 24: } An error occurred at line: 27 in the jsp file: /multifileUpload.jsp FileItemFactory cannot be resolved to a type 24: } 25: else 26: { 27: FileItemFactory factory = new DiskFileItemFactory(); 28: ServletFileUpload upload = new ServletFileUpload(factory); 29: List items = null; 30: try An error occurred at line: 27 in the jsp file: /multifileUpload.jsp DiskFileItemFactory cannot be resolved to a type 24: } 25: else 26: { 27: FileItemFactory factory = new DiskFileItemFactory(); 28: ServletFileUpload upload = new ServletFileUpload(factory); 29: List items = null; 30: try An error occurred at line: 28 in the jsp file: /multifileUpload.jsp ServletFileUpload cannot be resolved to a type 25: else 26: { 27: FileItemFactory factory = new DiskFileItemFactory(); 28: ServletFileUpload upload = new ServletFileUpload(factory); 29: List items = null; 30: try 31: { An error occurred at line: 28 in the jsp file: /multifileUpload.jsp ServletFileUpload cannot be resolved to a type 25: else 26: { 27: FileItemFactory factory = new DiskFileItemFactory(); 28: ServletFileUpload upload = new ServletFileUpload(factory); 29: List items = null; 30: try 31: { An error occurred at line: 34 in the jsp file: /multifileUpload.jsp FileUploadException cannot be resolved to a type 31: { 32: items = upload.parseRequest(request); 33: } 34: catch (FileUploadException e) 35: { 36: e.printStackTrace(); 37: } An error occurred at line: 36 in the jsp file: /multifileUpload.jsp e cannot be resolved 33: } 34: catch (FileUploadException e) 35: { 36: e.printStackTrace(); 37: } 38: 39: Iterator itr = items.iterator(); An error occurred at line: 42 in the jsp file: /multifileUpload.jsp FileItem cannot be resolved to a type 39: Iterator itr = items.iterator(); 40: while (itr.hasNext()) 41: { 42: FileItem item = (FileItem) itr.next(); 43: 44: if (item.isFormField()) 45: { An error occurred at line: 42 in the jsp file: /multifileUpload.jsp FileItem cannot be resolved to a type 39: Iterator itr = items.iterator(); 40: while (itr.hasNext()) 41: { 42: FileItem item = (FileItem) itr.next(); 43: 44: if (item.isFormField()) 45: { here's the stack trace: Stacktrace:
  6. 0

    JSP compile error ANT to Maven conversion

    Stack Overflow | 2 years ago | Mike Barnes
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 411 in the jsp file: /pages/includes/required_fields_incl.jsp ITEM_STATUS_DISPOSED_LOCALLY cannot be resolved or is not a field 408: currentElementName=currentElement.name; 409: if (currentElementName.indexOf("disposal_status.status_ID") != -1) { 410: var disposeStatus=currentElement.options[currentElement.selectedIndex].value; 411: if(disposeStatus!="" && disposeStatus==<%=TracingConstants.ITEM_STATUS_DISPOSED_LOCALLY%>){ 412: if(disposeLocal!=false){ 413: alert("<%=(String) bundle 414: .getString( "disposal.remark")%>" + " <%=(String) bundle.getString( Stacktrace:

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. GWT dev
      JspServlet.periodicEvent
      1. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
      2. org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
      3. org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:468)
      4. org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
      5. org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
      6. org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
      7. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
      8. org.apache.jasper.compiler.JspRuntimeContext.checkCompile(JspRuntimeContext.java:402)
      9. org.apache.jasper.servlet.JspServlet.periodicEvent(JspServlet.java:361)
      9 frames
    3. Glassfish Core
      ContainerBase$ContainerBackgroundProcessor.run
      1. org.apache.catalina.core.StandardWrapper.backgroundProcess(StandardWrapper.java:717)
      2. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530)
      3. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
      4. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
      5. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
      6. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519)
      6 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame