LogFactory 用的是 org.slf4j.LoggerFactory
下面是出错的日志信息:
JFinal action report -------- 2017-07-20 15:18:42 ------------------------------ Controller : com.g.admin.cms.controller.InvoiceInfoController.(InvoiceInfoController.java:1) Method : save Interceptor : com.jfinal.plugin.activerecord.tx.TxByRegex.(TxByRegex.java:1) com.jfinal.plugin.activerecord.tx.TxByRegex.(TxByRegex.java:1) com.jfinal.plugin.activerecord.tx.TxByRegex.(TxByRegex.java:1) Parameter : invoiceInfo.user_name=çææ invoiceInfo.user_account=18611160027 invoiceInfo.order_number=C2017072011405895764 sso_userid=7b908b64462a42b28a1bd341a1c65c8c userid=246266 address.addressee=x address.address=x address.phone=18611160027 invoiceInfo.course_name=èæè±è¯æå¦è¡å¨ç 究设计ä¸è®¿è°è¿ç¨ invoiceInfo.expenses=0.01 invoiceInfo.payment=alipay invoiceInfo.invoice_title=x invoiceInfo.unified_social_credit_identifier= invoiceInfo.unified_social_credit_address= invoiceInfo.unified_social_credit_phone= invoiceInfo.unified_social_credit_bank= invoiceInfo.unified_social_credit_bank_account= invoiceInfo.invoice_content=å¹è®è´¹ï¼çº¿ä¸ç ä¿®æ°å课ç¨ï¼ -------------------------------------------------------------------------------- Sql: select * from invoice_info where order_number = ? 15:18:42.288 [http-bio-8080-exec-3] ERROR c.g.a.c.c.InvoiceInfoController - null 15:18:42.302 [http-bio-8080-exec-3] ERROR c.j.c.ActionHandler - /admin/invoiceInfo/save com.jfinal.render.RenderException: java.io.FileNotFoundException: Template "/WEB-INF/pages/admin/invoiceInfo/save.html" not found. at com.jfinal.render.FreeMarkerRender.render(FreeMarkerRender.java:130) ~[jfinal-2.0-bin-with-src.jar:na] at com.jfinal.core.ActionHandler.handle(ActionHandler.java:93) ~[jfinal-2.0-bin-with-src.jar:na] at com.jfinal.plugin.druid.DruidStatViewHandler.handle(DruidStatViewHandler.java:75) [jfinal-2.0-bin-with-src.jar:na] at com.jfinal.ext.handler.ContextPathHandler.handle(ContextPathHandler.java:47) [jfinal-2.0-bin-with-src.jar:na] at com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:72) [jfinal-2.0-bin-with-src.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.68] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.68] at org.jasig.cas.client.util.AssertionThreadLocalFilter.doFilter(AssertionThreadLocalFilter.java:54) [cas-client-core-3.2.1.jar:3.2.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.68] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.68] at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:75) [cas-client-core-3.2.1.jar:3.2.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.68] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.68] at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:107) [cas-client-core-3.2.1.jar:3.2.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.68] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.68] at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:201) [cas-client-core-3.2.1.jar:3.2.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.68] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.68] at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76) [cas-client-core-3.2.1.jar:3.2.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.68] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.68] at com.g.admin.cms.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:48) [classes/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.68] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.68] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.68] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.68] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) [catalina.jar:7.0.68] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) [catalina.jar:7.0.68] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.68] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) [catalina.jar:7.0.68] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.68] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) [catalina.jar:7.0.68] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) [tomcat-coyote.jar:7.0.68] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) [tomcat-coyote.jar:7.0.68] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) [tomcat-coyote.jar:7.0.68] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.68] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79] Caused by: java.io.FileNotFoundException: Template "/WEB-INF/pages/admin/invoiceInfo/save.html" not found. at freemarker.template.Configuration.getTemplate(Configuration.java:742) ~[freemarker-2.3.20.jar:2.3.20] at freemarker.template.Configuration.getTemplate(Configuration.java:665) ~[freemarker-2.3.20.jar:2.3.20] at com.jfinal.render.FreeMarkerRender.render(FreeMarkerRender.java:126) ~[jfinal-2.0-bin-with-src.jar:na] ... 39 common frames omitted
有哪位大神可以教我一下怎么配置,让日志信息更详细一些。找到出错的具体原因是什么。
再次深深感谢!
项目:JFinal
Caused by: java.io.FileNotFoundException: Template "/WEB-INF/pages/admin/invoiceInfo/save.html" not found.
检查一下路径与文件名,大小写要一字不差