spring+thymeleaf 绝地灬酷狼 2022-05-26 02:30 156阅读 0赞 错误信息: 页面: # Whitelabel Error Page # This application has no explicit mapping for /error, so you are seeing this as a fallback. Mon Apr 23 19:09:45 CST 2018 There was an unexpected error (type=Internal Server Error, status=500). An error happened during template parsing (template: "class path resource \[templates/users/list.html\]") 控制台: org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource \[templates/users/list.html\]") at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) \[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) \[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:354) \[thymeleaf-spring5-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:187) \[thymeleaf-spring5-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1325) \[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1069) \[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1008) \[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) \[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974) \[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:866) \[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851) \[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) \[tomcat-embed-websocket-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) \[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) \[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) \[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) \[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) \[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) \[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) \[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) \[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) \[na:1.8.0\_91\] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) \[na:1.8.0\_91\] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at java.lang.Thread.run(Thread.java:745) \[na:1.8.0\_91\] Caused by: org.attoparser.ParseException: Could not parse as expression: "~\{fragments/footer :: footer" (template: "users/list" - line 10, col 7) at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.attoparser.MarkupParser.parse(MarkupParser.java:257) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] ... 52 common frames omitted Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Could not parse as expression: "~\{fragments/footer :: footer" (template: "users/list" - line 10, col 7) at org.thymeleaf.standard.expression.StandardExpressionParser.parseExpression(StandardExpressionParser.java:131) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.standard.expression.StandardExpressionParser.parseExpression(StandardExpressionParser.java:62) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.standard.expression.StandardExpressionParser.parseExpression(StandardExpressionParser.java:44) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.computeFragment(AbstractStandardFragmentInsertionTagProcessor.java:386) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.doProcess(AbstractStandardFragmentInsertionTagProcessor.java:110) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] ... 54 common frames omitted 2018-04-23 19:09:45.069 ERROR 8364 --- \[nio-8080-exec-2\] o.a.c.c.C.\[.\[.\[/\].\[dispatcherServlet\] : Servlet.service() for servlet \[dispatcherServlet\] in context with path \[\] threw exception \[Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource \[templates/users/list.html\]")\] with root cause org.thymeleaf.exceptions.TemplateProcessingException: Could not parse as expression: "~\{fragments/footer :: footer" (template: "users/list" - line 10, col 7) at org.thymeleaf.standard.expression.StandardExpressionParser.parseExpression(StandardExpressionParser.java:131) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.standard.expression.StandardExpressionParser.parseExpression(StandardExpressionParser.java:62) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.standard.expression.StandardExpressionParser.parseExpression(StandardExpressionParser.java:44) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.computeFragment(AbstractStandardFragmentInsertionTagProcessor.java:386) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.doProcess(AbstractStandardFragmentInsertionTagProcessor.java:110) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.attoparser.MarkupParser.parse(MarkupParser.java:257) ~\[attoparser-2.0.4.RELEASE.jar:2.0.4.RELEASE\] at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) ~\[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:354) ~\[thymeleaf-spring5-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:187) ~\[thymeleaf-spring5-3.0.9.RELEASE.jar:3.0.9.RELEASE\] at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1325) ~\[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1069) ~\[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1008) ~\[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) ~\[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974) ~\[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:866) ~\[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851) ~\[spring-webmvc-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~\[tomcat-embed-websocket-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~\[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~\[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) ~\[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~\[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) ~\[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~\[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) ~\[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~\[spring-web-5.0.5.RELEASE.jar:5.0.5.RELEASE\] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) ~\[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) \[na:1.8.0\_91\] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) \[na:1.8.0\_91\] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) \[tomcat-embed-core-8.5.29.jar:8.5.29\] at java.lang.Thread.run(Thread.java:745) \[na:1.8.0\_91\] **错误原因:** Could not parse as expression 即无法解析为表达式。本次出现这个的原因在于thymeleaf模板布局代码出现了问题,本次是少了一个"\}"导致的。 页面: ![70][] [70]: /images/20220526/2619316f5b004f288ec77a48d98d4952.png
还没有评论,来说两句吧...