org.apache.jasper.JasperException: 结束标签 “</form:form” 不平衡

huangapple 未分类评论47阅读模式
英文:

org.apache.jasper.JasperException: The end tag "&lt;/form:form" is unbalanced

问题

以下是您提供的文本的翻译部分:

我在Spring Java应用程序中遇到了这个问题

当我想访问 localhost:8080/editEvent 页面时,我得到了错误代码 500,而且在 Eclipse 中我得到了这个错误
这是错误:

2020-06-29 11:11:50.128 ERROR 1114 --- [nio-8080-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : 在路径为 [] 的上下文中为 servlet [dispatcherServlet] 提供了服务,抛出异常 [/editEvent.jsp(第 [117] 行,列:[1])不平衡的结束标记 "&lt;/form:form" ] 根本原因是 org.apache.jasper.JasperException: /editEvent.jsp(第 [117] 行,列:[1])不平衡的结束标记 "&lt;/form:form"
    ...

此外,您还提供了一段 editEvent.jsp 的代码,但您似乎只想要翻译文本部分。如果您还需要代码的翻译,请告诉我,我会为您提供相应的翻译。

英文:

I've problem this problem in Spring Java Application

When I want to enter the localhost:8080/editEvent page I get the error code 500 and on eclipse I get this error
This is the error:

2020-06-29 11:11:50.128 ERROR 1114 --- [nio-8080-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [/editEvent.jsp (line: [117], column: [1]) The end tag &quot;&amp;lt;/form:form&quot; is unbalanced] with root cause org.apache.jasper.JasperException: /editEvent.jsp (line: [117], column: [1]) The end tag &quot;&amp;lt;/form:form&quot; is unbalanced
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:292) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:98) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Parser.checkUnbalancedEndTag(Parser.java:1606) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1471) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1683) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1016) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1291) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1470) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1683) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1016) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1291) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1470) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Parser.parse(Parser.java:144) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:105) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:206) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:386) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:362) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:346) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:605) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:400) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329) ~[tomcat-embed-jasper-9.0.29.jar:9.0.29]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.springframework.security.web.header.HeaderWriterFilter$HeaderWriterRequestDispatcher.forward(HeaderWriterFilter.java:172) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:171) ~[spring-webmvc-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:316) ~[spring-webmvc-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1373) ~[spring-webmvc-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) ~[spring-webmvc-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) ~[spring-webmvc-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) ~[spring-webmvc-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) ~[spring-webmvc-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) ~[spring-security-web-5.2.1.RELEASE.jar:5.2.1.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) ~[spring-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) ~[spring-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:526) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1591) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.29.jar:9.0.29]
at java.base/java.lang.Thread.run(Thread.java:830) ~[na:na]

editEvent.jsp

<!-- begin snippet: js hide: false console: true babel: false -->

<!-- language: lang-html -->

&lt;%@include file=&quot;common/header.jspf&quot;%&gt;
&lt;div class=&quot;container&quot;&gt;
	&lt;form:form method=&quot;POST&quot; modelAttribute=&quot;event&quot;&gt;
		&lt;hr&gt;
		&lt;h1 class=&quot;form-heading&quot;&gt;Modifica evento&lt;/h1&gt;
		&lt;hr&gt;
		&lt;div class=&quot;row&quot;&gt;
			&lt;spring:bind path=&quot;title&quot;&gt;
				&lt;div class=&quot;form-group ${status.error ? &#39;has-error&#39; : &#39;&#39;} col-sm-6&quot;&gt;
					&lt;h5&gt;Titolo&lt;/h5&gt;
					&lt;form:input type=&quot;text&quot; path=&quot;title&quot; class=&quot;form-control&quot;
						autofocus=&quot;true&quot; value=&quot;${event.title}&quot;&gt;&lt;/form:input&gt;
					&lt;form:errors path=&quot;title&quot;&gt;&lt;/form:errors&gt;
				&lt;/div&gt;
			&lt;/spring:bind&gt;
			&lt;spring:bind path=&quot;description&quot;&gt;
				&lt;div class=&quot;form-group ${status.error ? &#39;has-error&#39; : &#39;&#39;} col-sm-6&quot;&gt;
					&lt;h5&gt;Descrizione&lt;/h5&gt;
					&lt;form:textarea type=&quot;text&quot; path=&quot;description&quot; class=&quot;form-control&quot;
						value=&quot;${event.description}&quot;&gt;&lt;/form:textarea&gt;
					&lt;form:errors path=&quot;description&quot;&gt;&lt;/form:errors&gt;
				&lt;/div&gt;
			&lt;/spring:bind&gt;
		&lt;/div&gt;
		&lt;hr&gt;
		&lt;div class=&quot;row&quot;&gt;
			&lt;spring:bind path=&quot;category&quot;&gt;
				&lt;div class=&quot;form-group ${status.error ? &#39;has-error&#39; : &#39;&#39;} col-sm-4&quot;&gt;
					&lt;h5&gt;Categoria&lt;/h5&gt;
					&lt;form:select type=&quot;text&quot; path=&quot;category&quot; class=&quot;form-control&quot;
						value=&quot;${event.category}&quot;&gt;
						&lt;form:option value=&quot;Sport&quot;&gt;&lt;/form:option&gt;
						&lt;form:option value=&quot;Studio&quot;&gt;&lt;/form:option&gt;
						&lt;form:option value=&quot;Giochi&quot;&gt;&lt;/form:option&gt;
						&lt;form:option value=&quot;Altro&quot;&gt;&lt;/form:option&gt;
					&lt;/form:select&gt;
					&lt;form:errors path=&quot;category&quot;&gt;&lt;/form:errors&gt;
				&lt;/div&gt;
			&lt;/spring:bind&gt;
			&lt;spring:bind path=&quot;max_member&quot;&gt;
				&lt;div class=&quot;form-group ${status.error ? &#39;has-error&#39; : &#39;&#39;} col-sm-4&quot;&gt;
					&lt;h5&gt;Numero dei partecipanti&lt;/h5&gt;
					&lt;form:input type=&quot;number&quot; path=&quot;max_member&quot; class=&quot;form-control&quot;
						value=&quot;${event.max_member}&quot;&gt;&lt;/form:input&gt;
					&lt;form:errors path=&quot;max_member&quot;&gt;&lt;/form:errors&gt;
				&lt;/div&gt;
			&lt;/spring:bind&gt;
		&lt;/div&gt;
		&lt;hr&gt;
		&lt;div class=&quot;row&quot;&gt;
			&lt;spring:bind path=&quot;city&quot;&gt;
				&lt;div class=&quot;form-group ${status.error ? &#39;has-error&#39; : &#39;&#39;} col-sm-4&quot;&gt;
					&lt;h5&gt;Citt&#224;&lt;/h5&gt;
					&lt;form:input type=&quot;text&quot; path=&quot;city&quot; class=&quot;form-control&quot;
						value=&quot;${event.city}&quot;&gt;&lt;/form:input&gt;
					&lt;form:errors path=&quot;city&quot;&gt;&lt;/form:errors&gt;
				&lt;/div&gt;
			&lt;/spring:bind&gt;
			&lt;spring:bind path=&quot;place&quot;&gt;
				&lt;div class=&quot;form-group ${status.error ? &#39;has-error&#39; : &#39;&#39;} col-sm-4&quot;&gt;
					&lt;h5&gt;Luogo&lt;/h5&gt;
					&lt;form:input type=&quot;text&quot; path=&quot;place&quot; class=&quot;form-control&quot;
						value=&quot;${event.place}&quot;&gt;&lt;/form:input&gt;
					&lt;form:errors path=&quot;place&quot;&gt;&lt;/form:errors&gt;
				&lt;/div&gt;
			&lt;/spring:bind&gt;
		&lt;/div&gt;
		&lt;hr&gt;
		&lt;div class=&quot;row&quot;&gt;
			&lt;spring:bind path=&quot;date&quot;&gt;
				&lt;div class=&quot;form-group ${status.error ? &#39;has-error&#39; : &#39;&#39;} col-sm-4&quot;&gt;
					&lt;h5&gt;Data&lt;/h5&gt;
					&lt;form:input type=&quot;date&quot; path=&quot;date&quot; class=&quot;form-control&quot;
						value=&quot;${event.date}&quot;&gt;&lt;/form:input&gt;
					&lt;form:errors path=&quot;date&quot;&gt;&lt;/form:errors&gt;
				&lt;/div&gt;
			&lt;/spring:bind&gt;
			&lt;spring:bind path=&quot;time&quot;&gt;
				&lt;div class=&quot;form-group col-sm-4&quot;&gt;
					&lt;h5&gt;Orario&lt;/h5&gt;
					&lt;form:input type=&quot;time&quot; path=&quot;time&quot; class=&quot;form-control&quot;
						value=&quot;${event.time}&quot;&gt;&lt;/form:input&gt;
				&lt;/div&gt;
		&lt;/div&gt;
		&lt;hr&gt;
		&lt;div class=&quot;row&quot;&gt;
			&lt;spring:bind path=&quot;cost&quot;&gt;
				&lt;div class=&quot;form-group ${status.error ? &#39;has-error&#39; : &#39;&#39;} col-sm-3&quot;&gt;
					&lt;h5&gt;Costo&lt;/h5&gt;
					&lt;div class=&quot;input-group-prepend&quot;&gt;
						&lt;div class=&quot;input-group-text&quot;&gt;&amp;euro;&lt;/div&gt;
						&lt;form:input type=&quot;number&quot; path=&quot;cost&quot; class=&quot;form-control&quot;
							value=&quot;${event.cost}&quot;&gt;&lt;/form:input&gt;
					&lt;/div&gt;
					&lt;form:errors path=&quot;cost&quot;&gt;&lt;/form:errors&gt;
				&lt;/div&gt;
			&lt;/spring:bind&gt;
		&lt;/div&gt;
		&lt;div class=&quot;row&quot;&gt;
			&lt;spring:bind path=&quot;username&quot;&gt;
				&lt;div class=&quot;form-group col-sm-3 invisible&quot;&gt;
					&lt;form:select type=&quot;text&quot; path=&quot;username&quot; class=&quot;form-control&quot;&gt;
						&lt;form:option value=&quot;${event.username}&quot;&gt;&lt;/form:option&gt;
					&lt;/form:select&gt;
				&lt;/div&gt;
			&lt;/spring:bind&gt;
		&lt;/div&gt;
		&lt;div class=&quot;row text-center col-sm-12&quot;&gt;
			&lt;button class=&quot;btn btn-lg btn-primary&quot; type=&quot;submit&quot;&gt;
				&lt;i class=&quot;fas fa-save&quot;&gt;&lt;/i&gt; Salva
			&lt;/button&gt;
			&lt;hr&gt;
			&lt;a class=&quot;btn btn-lg btn-danger&quot; role=&quot;button&quot; href=&quot;myEvents&quot;&gt; &lt;i
				class=&quot;fas fa-window-close&quot;&gt;&lt;/i&gt; Annulla
			&lt;/a&gt;
		&lt;/div&gt;
	&lt;/form:form&gt;
&lt;/div&gt;
&lt;%@include file=&quot;common/footer.jspf&quot;%&gt;

<!-- end snippet -->

Why i have this error? The code seems to me balance. The problem appears only on this page. The rest of the code works

答案1

得分: 0

<spring:bind path="time"> 似乎缺少一个闭合标签 </spring:bind>。请尝试是否解决了这个错误。Jasper错误消息可能会有些误导,因为缺少闭合标签可能会使随后的所有内容都不平衡。

英文:
&lt;spring:bind path=&quot;time&quot;&gt;

seems to be missing a closing

&lt;/spring:bind&gt;

Please try if this solves the error.

The Jasper error messages can be somewhat misleading as a missing closing tag can unbalance everything that comes afterwards.

huangapple
  • 本文由 发表于 2020年6月29日 17:37:38
  • 转载请务必保留本文链接:https://java.coder-hub.com/62635285.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定