java.io.IOException: An error occured while processing an XML resource

Tridion | Velmurugan | 2 months ago
  1. 0

    Install Social Office on Liferay 6.2.GA3 breaks display formatting - Forums | Liferay

    liferay.com | 1 year ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 332 in the jsp file: /html/common/themes/portlet_css.jspf The method _escapeCssBlock(String) is undefined for the type top_005fhead_jsp 329: 330: String finalCSSString = StringUtil.merge(finalCSSArray, ";\n"); 331: 332: out.print(_escapeCssBlock(finalCSSString)); 333: 334: out.print("\n}\n"); 335: An error occurred at line: 339 in the jsp file: /html/common/themes/portlet_css.jspf The method _escapeCssBlock(String) is undefined for the type top_005fhead_jsp 336: // Advanced CSS 337: 338: if (Validator.isNotNull(customCSS)) { 339:    out.print(_escapeCssBlock(customCSS)); 340: } 341: %> 342: Stacktrace:
  2. 0

    Install Social Office on Liferay 6.2.GA3 breaks display formatting - Forums | Liferay

    liferay.com | 11 months ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 332 in the jsp file: /html/common/themes/portlet_css.jspf The method _escapeCssBlock(String) is undefined for the type top_005fhead_jsp 329: 330: String finalCSSString = StringUtil.merge(finalCSSArray, ";\n"); 331: 332: out.print(_escapeCssBlock(finalCSSString)); 333: 334: out.print("\n}\n"); 335: An error occurred at line: 339 in the jsp file: /html/common/themes/portlet_css.jspf The method _escapeCssBlock(String) is undefined for the type top_005fhead_jsp 336: // Advanced CSS 337: 338: if (Validator.isNotNull(customCSS)) { 339:    out.print(_escapeCssBlock(customCSS)); 340: } 341: %> 342: Stacktrace:
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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:
  5. 0

    Error compiling JSP on tomcat8 and java8

    Stack Overflow | 2 years ago | user1247412
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [768] in the generated java file: [/opt/tomcat/book_store/work/Catalina/localhost/bookStore/org/apache/jsp/WEB_002dINF/jsp/select_005fparameters_jsp.java] bookData cannot be resolved to a variable Stacktrace:

  1. abrazeneb 4 times, last 5 months ago
  2. Andreas Häber 1 times, last 1 month ago
  3. Justin 2 times, last 4 months ago
  4. andyglick 12 times, last 3 months ago
  5. Plato2000 6 times, last 7 months ago
71 unregistered visitors
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: [329] in the generated java file: [C:\fredhopper\data\instances\indexer\tomcat\work\Catalina\localhost\fredhopper\org\apache\jsp\admin\login_jsp.java] The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory Stacktrace:

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError()
  2. GWT dev
    JspServlet.service
    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.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
    9. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    10. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    10 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  4. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  5. Wicket Core
    WicketFilter.doFilter
    1. org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:263)
    2. org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
    3. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
    3 frames
  6. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
    6 frames
  7. com.fredhopper.transformservlet
    TransformServlet.service
    1. com.fredhopper.transformservlet.TransformServlet.forwardRequest(TransformServlet.java:253)
    2. com.fredhopper.transformservlet.TransformServlet.service(TransformServlet.java:158)
    2 frames
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  9. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  10. Wicket Core
    WicketFilter.doFilter
    1. org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:263)
    2. org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
    3. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
    3 frames
  11. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  12. com.fredhopper.bm
    AccessLogSessionFilter.doFilter
    1. com.fredhopper.bm.AccessLogSessionFilter.doFilter(AccessLogSessionFilter.java:45)
    1 frame
  13. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  14. com.fredhopper.servlets
    AdminAvailabilityFilter.doFilter
    1. com.fredhopper.servlets.AdminAvailabilityFilter.doFilter(AdminAvailabilityFilter.java:55)
    1 frame
  15. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    10 frames
  16. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1686)
    3 frames
  17. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames