Score
0
Watch 519 Star 976 Fork 681

龙影 / ECPJava

你好,龙影。

Open
minglei7758  Opened this issue

输入图片说明

以上是工程部署,启动后也没有报错。

就是访问的时候:http://127.0.0.1:8080/ECPOA/app/login.html----浏览器没内容。

后套报如下错:

2015-10-30 15:02:09
[WARN]-[Thread: http-apr-8080-exec-7]-[com.jfinal.core.ActionHandler.handle()]: 404 Action Not Found: /app/login

2015-10-30 15:02:09
[DEBUG]-[Thread: http-apr-8080-exec-7]-[freemarker.log._Log4JLoggerFactory$Log4JLogger.debug()]: Could not find template in cache, creating new one; id=["WEB-INF/app/err404.html"["zh_CN",utf-8,parsed] ]

2015-10-30 15:02:09
[ERROR]-[Thread: http-apr-8080-exec-7]-[com.jfinal.core.JFinalFilter.doFilter()]: /app/login.html
com.jfinal.render.RenderException: java.io.FileNotFoundException: Template "/WEB-INF/app/err404.html" not found.
at com.jfinal.render.FreeMarkerRender.render(FreeMarkerRender.java:131)
at com.jfinal.render.ErrorRender.render(ErrorRender.java:50)
at com.jfinal.core.ActionHandler.handle(ActionHandler.java:63)
at com.jfinal.ext.handler.FakeStaticHandler.handle(FakeStaticHandler.java:45)
at com.jfinal.ext.handler.FakeStaticHandler.handle(FakeStaticHandler.java:45)
at com.jfinal.ext.handler.ContextPathHandler.handle(ContextPathHandler.java:47)
at com.jfinal.plugin.druid.DruidStatViewHandler.handle(DruidStatViewHandler.java:75)
at net.loyin.handler.ServletHandler.handle(ServletHandler.java:20)
at com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:110)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:83)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2522)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2511)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: Template "/WEB-INF/app/err404.html" not found.
at freemarker.template.Configuration.getTemplate(Configuration.java:742)
at freemarker.template.Configuration.getTemplate(Configuration.java:665)
at com.jfinal.render.FreeMarkerRender.render(FreeMarkerRender.java:127)
... 29 more

请帮忙分析一下是什么错误?

total 1 participants

Comments (0)

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority