eclipse启动正常,部署Jetty启动访问出现这样的报错,tomcat也不行

二月 09, 2021 10:53:05 上午 com.jfinal.core.ActionHandler error

严重: /

com.jfinal.render.RenderException: org.apache.jasper.JasperException: Unable to compile class for JSP:


An error occurred at line: [39] in the generated java file: [C:\Users\xiaoE\AppData\Local\Temp\jetty-0_0_0_0-8080-recorderStation_war-_recorderStation-any-7942071676623355763\jsp\org\apache\jsp\index_jsp.java]

The return type is incompatible with JspSourceDependent.getDependants()


Stacktrace:

        at com.jfinal.render.JspRender.render(JspRender.java:69)

        at com.jfinal.core.ActionHandler.handle(ActionHandler.java:113)

        at com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:90)

        at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201)

        at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)

        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)

        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)

        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)

        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)

        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)

        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

        at org.eclipse.jetty.server.Server.handle(Server.java:516)

        at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)

        at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)

        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)

        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)

        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)

        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)

        at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)

        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)

        at java.lang.Thread.run(Thread.java:748)

Caused by: org.apache.jasper.JasperException: Unable to compile class for JSP:


An error occurred at line: [39] in the generated java file: [C:\Users\xiaoE\AppData\Local\Temp\jetty-0_0_0_0-8080-recorderStation_war-_recorderStation-any-7942071676623355763\jsp\org\apache\jsp\index_jsp.java]

The return type is incompatible with JspSourceDependent.getDependants()


Stacktrace:

        at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)

        at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:212)

        at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:574)

        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:381)

        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)

        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)

        at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:597)

        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)

        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)

        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)

        at org.eclipse.jetty.jsp.JettyJspServlet.service(JettyJspServlet.java:106)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

        at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1452)

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)

        at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:620)

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)

        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)

        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)

        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)

        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)

        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

        at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:219)

        at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:78)

        at com.jfinal.render.JspRender.render(JspRender.java:67)

        ... 32 more

这样是什么情况导出的不对嘛,还是缺少什么

评论区