Skip to content

Commit

Permalink
DOCKER-450 [Test] Java source = 17 (old 11)
Browse files Browse the repository at this point in the history
  • Loading branch information
codingBenVdS committed Apr 29, 2024
1 parent 7523658 commit b805a43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tomcat-base/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ subprojects {
java {
withJavadocJar()
withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
// Caused by: java.lang.UnsupportedClassVersionError: org/springframework/web/SpringServletContainerInitializer has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0 (unable to load class [org.springframework.web.SpringServletContainerInitializer])\
// if (tomcatVersion.contains("10")){
// sourceCompatibility = JavaVersion.VERSION_17
Expand Down

0 comments on commit b805a43

Please sign in to comment.