2017-11-14 18 views
1

私はちょうど店頭にページ(請求書)を追加しましたが、このエラーが発生しました。昨日は、私が店の前でそれをテストするための簡単なページ(バックオーダー)を加えなかったし、それが動作しない今、これらのページの両方を働いていたので、これを引き起こし、これがコンソールログに表示されます。Hybris throw uri:http://java.sun.com/jsp/jstl/core解決できません

GRAVE: Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/exception.jsp] 
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core can not be solved either in web.xml or the jar files deployed with this application 
     at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:56) 
     at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:445) 
     at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:117) 
     at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:325) 
     at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:154) 
     at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:410) 
     at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:475) 
     at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1410) 
     at org.apache.jasper.compiler.Parser.parse(Parser.java:138) 
     at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:242) 
     at org.apache.jasper.compiler.ParserController.parse(ParserController.java:102) 
     at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199) 
     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:374) 
     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) 
     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:341) 
     at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657) 
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357) 
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) 
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) 
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) 
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) 
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 
     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) 
     at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604) 
     at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543) 
     at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:470) 
     at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:420) 
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:208) 
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) 
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) 
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) 
     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074) 
     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) 
     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) 
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 
     at java.lang.Thread.run(Thread.java:748) 

IMPEXファイル:

$contentCatalog=helvexContentCatalog 
$contentCV=catalogVersion(CatalogVersion.catalog(Catalog.id[default=$contentCatalog]),CatalogVersion.version[default=Staged])[default=$contentCatalog:Staged] 
$jarResourceCms=jar:org.helvex.com.mx.customstorefront.constants.HelvexcustomstorefrontConstants&/helvexcustomstorefront/import/cockpit/cmscockpit 
$addonExtensionName=helvexcustomstorefront 


## Configure page ... 
INSERT_UPDATE ContentPage;$contentCV[unique=true];uid[unique=true];name;masterTemplate(uid,$contentCV);label;defaultPage[default='true'];approvalStatus(code)[default='approved'];homepage[default='false'] 
;;accountBalance;Account Balance;AccountPageTemplate;/account-balance 
;;backOrder;Back Order;AccountPageTemplate;/back-order 
;;invoice;Invoice;AccountPageTemplate;/invoice 


# CMS Link Component 
INSERT_UPDATE CMSLinkComponent;$contentCV[unique=true];uid[unique=true];name;url;&linkRef;&componentRef;target(code)[default='sameWindow'] 
;;AccountBalanceLink;AccountBalanceLink;/account-balance;AccountBalanceLink;AccountBalanceLink; 
;;BackOrderLink;BackOrderLink;/back-order;BackOrderLink;BackOrderLink 
;;InvoiceLink;InvoiceLink;/invoice;InvoiceLink;InvoiceLink 



# CMS Navigation Nodes 

INSERT_UPDATE CMSNavigationNode;uid[unique=true];$contentCV[unique=true];name;parent(uid, $contentCV);links(&linkRef)[mode=append];&nodeRef 
;AccountBalanceLeftNavNode;;Check Accounts Balance;HelvexNavNode;AccountBalanceLink;AccountBalanceLeftNavNode 
;BackOrderNavNode;;Back Order;HelvexNavNode;BackOrderLink;BackOrderNavNode 
;InvoiceNavNode;;Invoice;HelvexNavNode;InvoiceLink;InvoiceNavNode 


# the jsp pages we defined earlier 
INSERT_UPDATE JspIncludeComponent;$contentCV[unique=true];uid[unique=true];name;page;actions(uid,$contentCV);&componentRef 
;;AccountBalanceComponent;Check Accounts Balance Component;/WEB-INF/views/addons/$addonExtensionName/responsive/pages/accountBalancePage.jsp;;AccountBalanceComponent 
;;BackOrderComponent;Back Order Component;/WEB-INF/views/addons/$addonExtensionName/responsive/pages/backOrderPage.jsp;;BackOrderComponen 
;;InvoiceComponent;Invoice Component;/WEB-INF/views/addons/$addonExtensionName/responsive/pages/invoicePage.jsp;;InvoiceComponent 


# the content slots 
INSERT_UPDATE ContentSlot;$contentCV[unique=true];uid[unique=true];name;active;cmsComponents(uid,$contentCV);;; 
;;BodyContent-accountsBalance;Body Content Slot for Accounts Balance;true;AccountBalanceComponent;;; 
;;BodyContent-backOrder;Body Content Slot for Back Order;true;BackOrderComponent;;; 
;;BodyContent-invoice;Body Content Slot for Invoice;true;InvoiceComponent;;; 




INSERT_UPDATE ContentSlotForPage;$contentCV[unique=true];uid[unique=true];position[unique=true];page(uid,$contentCV)[unique=true][default='accountBalance'];contentSlot(uid,$contentCV)[unique=true];;; 
;;BodyContent-accountsBalance;BodyContent;accountBalance;BodyContent-accountsBalance;;; 
;;BodyContent-backOrder;BodyContent;backOrder;BodyContent-backOrder;;; 
;;BodyContent-invoice;BodyContent;invoice;BodyContent-invoice;;; 

ウェブspring.xml

<bean name="accountBalancePageController" class="org.helvex.com.mx.customstorefront.controllers.pages.AccountBalancePageController"/> 

    <bean name="backOrderPageController" class="org.helvex.com.mx.customstorefront.controllers.pages.BackOrderPageController"/> 

    <bean name="invoicePageController" class="org.helvex.com.mx.customstorefront.controllers.pages.InvoicePageController"/> 


    <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> 
      <property name="mappings"> 
       <props> 

         <prop key="/account-balance">accountBalancePageController</prop> 
         <prop key="/back-order">backOrderPageController</prop> 
         <prop key="/invoice">invoicePageController</prop> 

       </props> 
      </property> 
    </bean> 

私は逃したのですか?どのように私はこのエラーを修正することができますか?

+1

このリンクを参照してください。https://stackoverflow.com/questions/4928271/how-to-install-jstl-the-absolute-uri-http-java-sun-com-jstl-core-cannot-be –

答えて

0

ここの問題は、あなたのアプリケーションがページを見つけられなかったと思います。そして、アプリケーションが 'exception.jsp'ページを開こうとするよりも。しかし、このページにもいくつかのエラーがあります。

「exception.jsp」のみを開き、このエラーを最初に解決してみてください。

関連する問題