The default version will be in the CAS branch here: https://github.com/apereo/cas/blob/7.0.x/gradle.properties
If you comment out tomcatVersion= in your overlay gradle.properties it will use whatever is in the CAS repo. Is that what you are looking for? On Thu, Apr 10, 2025 at 8:38 AM Vincent Weber <vjon...@gmail.com> wrote: > Thanks for your responses. > How to know the default tomcat version that CAS 7.0.10 should use when > using the overlay ? > > Le jeudi 10 avril 2025 à 16:55:46 UTC+2, Mohamed Amdouni a écrit : > >> Hi, >> >> Check this discussion >> >> https://groups.google.com/a/apereo.org/g/cas-user/c/Lw19PuKwi-0/m/BgXBdp-6BwAJ?utm_medium=email&utm_source=footer&pli=1 >> >> Best regards >> >> >> Le jeu. 10 avr. 2025 à 16:22, Andrew Tillinghast <atilli...@unicon.net> >> a écrit : >> >>> Rather than comment out the tomcat version specify the version you want, >>> just be aware that might cause other issues with incompatible jars. >>> >>> On Thu, Apr 10, 2025 at 4:12 AM Vincent Weber <vjo...@gmail.com> wrote: >>> >>>> Hello, >>>> Any ideas on this ? >>>> Thanks >>>> >>>> Le vendredi 28 mars 2025 à 17:04:09 UTC+1, Vincent Weber a écrit : >>>> >>>>> Hello, >>>>> >>>>> I am running CAS 7.0.10 build with overlay and embedded Tomcat. >>>>> When it start, I have the message : >>>>> *Apache Tomcat Version: Apache Tomcat/10.1.31* >>>>> >>>>> I tried to edit gradle.properties to uncomment this line and have a >>>>> more recent Tomcat version : >>>>> # tomcatVersion=10.1.39 >>>>> >>>>> But then when I do : >>>>> *./gradlew clean copyCasConfiguration build run --refresh-dependencies* >>>>> >>>>> I receive this error : >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> * 2025-03-28 16:17:55,001 ERROR >>>>> [org.springframework.boot.SpringApplication] - <Application run >>>>> failed>java.lang.NoClassDefFoundError: org/apache/catalina/util/ServerInfo >>>>> at >>>>> org.apereo.cas.CasTomcatBanner.injectEnvironmentInfo(CasTomcatBanner.java:20) >>>>> at >>>>> org.apereo.cas.util.spring.boot.AbstractCasBanner.collectEnvironmentInfo(AbstractCasBanner.java:77) >>>>> at >>>>> org.apereo.cas.util.spring.boot.AbstractCasBanner.printBanner(AbstractCasBanner.java:33) >>>>> at >>>>> org.springframework.boot.SpringApplicationBannerPrinter.print(SpringApplicationBannerPrinter.java:67) >>>>> at >>>>> org.springframework.boot.SpringApplication.printBanner(SpringApplication.java:586) >>>>> at >>>>> org.springframework.boot.SpringApplication.run(SpringApplication.java:330) >>>>> at >>>>> org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:149) >>>>> at >>>>> org.apereo.cas.web.CasWebApplication.main(CasWebApplication.java:57) >>>>> at >>>>> java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) >>>>> at java.base/java.lang.reflect.Method.invoke(Method.java:580) >>>>> at >>>>> org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91) >>>>> at >>>>> org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53) >>>>> at >>>>> org.springframework.boot.loader.launch.WarLauncher.main(WarLauncher.java:57)Caused >>>>> by: java.lang.ClassNotFoundException: org.apache.catalina.util.ServerInfo >>>>> at >>>>> java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) >>>>> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593) >>>>> at >>>>> org.springframework.boot.loader.net.protocol.jar.JarUrlClassLoader.loadClass(JarUrlClassLoader.java:104) >>>>> at >>>>> org.springframework.boot.loader.launch.LaunchedClassLoader.loadClass(LaunchedClassLoader.java:91) >>>>> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) >>>>> ... 13 more> Task :run FAILEDFAILURE: Build failed with an exception.* >>>>> >>>>> Did I miss something ? >>>>> >>>>> Regards, >>>>> Vincent >>>>> >>>>> >>>>> -- >>>> - Website: https://apereo.github.io/cas >>>> - List Guidelines: https://goo.gl/1VRrw7 >>>> - Contributions: https://goo.gl/mh7qDG >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "CAS Community" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to cas-user+u...@apereo.org. >>>> To view this discussion visit >>>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/330c1faa-9bab-42db-bf00-aabfbfcd83a8n%40apereo.org >>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/330c1faa-9bab-42db-bf00-aabfbfcd83a8n%40apereo.org?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> - Website: https://apereo.github.io/cas >>> - List Guidelines: https://goo.gl/1VRrw7 >>> - Contributions: https://goo.gl/mh7qDG >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "CAS Community" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to cas-user+u...@apereo.org. >>> >> To view this discussion visit >>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAPt3vHX3C9o0R20QbzP2VdwTOq-VW8PJdO8czS-seGYyL_5W9Q%40mail.gmail.com >>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAPt3vHX3C9o0R20QbzP2VdwTOq-VW8PJdO8czS-seGYyL_5W9Q%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > - Website: https://apereo.github.io/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to cas-user+unsubscr...@apereo.org. > To view this discussion visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/7cf50163-dcc9-4ba6-9366-aa717190877fn%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/7cf50163-dcc9-4ba6-9366-aa717190877fn%40apereo.org?utm_medium=email&utm_source=footer> > . > -- Jonathon Taylor (he/him) Information Security Office jonath...@berkeley.edu -- - Website: https://apereo.github.io/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CABzqDo-zuZrLMFH4iM82fZDWgZtTZ1i6Feoj5xSE_J4Yhp4%3DFA%40mail.gmail.com.