Grails 7.0.x with Tomcat 11 layout <meta name="layout" content="main" /> is not working #14039
-
Grails 7.0.x with Tomcat 10 is working superb but the same webapp with Tomcat 11 is not working. Any help on this appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Grails 7.0.x uses Spring Boot 3.4.x which supports tomcat 10.1.x. You can see the supported versions on https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-dependencies/3.4.3 or on https://mvnrepository.com/artifact/org.grails/grails-bom/7.0.0-M1. https://spring.io/blog/2024/10/01/from-spring-framework-6-2-to-7-0 spring-projects/spring-boot#42730 (comment) - Tomcat 11 support might be added in Spring Boot 3.5.x, which will become Grails 7.1.x. |
Beta Was this translation helpful? Give feedback.
-
Spring Boot 3.4.x supports Tomcat 11.0.4, The URL which you gave states that. Even Grails App is good. Most of the features are working as expected, except layout. The below gsp, if i remove meta tag, then am able to render the page, but if i include the meta tag, am getting a blank page. No errors on the logs or screen or developer tools <title>MyTitle</title> **** This is my content!I guess some problem on the sitemesh side, but am not sure. |
Beta Was this translation helpful? Give feedback.
Grails 7.0.x uses Spring Boot 3.4.x which supports tomcat 10.1.x. You can see the supported versions on https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-dependencies/3.4.3 or on https://mvnrepository.com/artifact/org.grails/grails-bom/7.0.0-M1.
https://spring.io/blog/2024/10/01/from-spring-framework-6-2-to-7-0
spring-projects/spring-boot#42730 (comment) - Tomcat 11 support might be added in Spring Boot 3.5.x, which will become Grails 7.1.x.