New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RouteDslKt.class is missing in 4.0.0 #2813
Comments
In 4.0.0-RC3, the current value of
In my opinion, the above value should be updatedI will investigate below commit |
Kotlin supports up to JDK 18 nowadays, so I'm pretty sure the commit you mention should be revisited indeed. Currently it blocks us from upgrading to this new version, because our project uses JDK 17 as baseline, just like Spring Boot 3 does. |
Issue persists in 4.0.0 and therefore Spring Cloud 2022.0.0. We can't upgrade to Spring Boot 3 because of this, because Boot 3 is incompatible with Cloud 2021.0.x :-( |
Maybe @spencergibb (author of dbd998d) can provide some insight? |
@spencergibb |
Hi, when updating from spring-cloud 2021.0.7 (with spring-cloud-gateway 3.1.7) to 2021.0.8 (scg 3.1.8) it seems RouteDslKt is gone as well. Maybe something related to this issue? Can't find anything in the release notes about any change for this class (https://github.com/spring-cloud/spring-cloud-release/wiki/Spring-Cloud-2021.0-Release-Notes). Any clues? @giger85 @spencergibb (I cannot upgrade yet to Java 17 so cannot use 4.x yet) EDIT: Created a new issue for this - #3018 |
@SimenRokaas |
Describe the bug
My application use
RouteDsl.kt
to define gateway routes.If I bump version of spring cloud from
3.1.4
to4.0.0.RC1 ~ RC3
, then compilation of route configuration fail.Sample
Please see the below that result of extracting class files in
3.1.4
and4.0.0-RC3
jar3.1.4
4.0.0-RC3
RouteDslKt.class
is missing in jar.The text was updated successfully, but these errors were encountered: