You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thanks for the fascinating tool! I ran the upgrade recipe to boot 2.7 on the below project using Maven CLI, but the application ran into an error when running because spring-cloud-stream-dependencies was not upgraded.
2025-01-31 17:49:39.771 ERROR 64501 --- [ main] o.s.boot.SpringApplication : Application run failed
java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.actuate.autoconfigure.EndpointAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:341) ~[spring-core-5.3.31.jar:5.3.31]
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:474) ~[spring-core-5.3.31.jar:5.3.31]
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:397) ~[spring-core-5.3.31.jar:5.3.31]
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:283) ~[spring-core-5.3.31.jar:5.3.31]
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:193) ~[spring-core-5.3.31.jar:5.3.31]
at org.springframework.core.type.AnnotatedTypeMetadata.getAnnotationAttributes(AnnotatedTypeMetadata.java:106) ~[spring-core-5.3.31.jar:5.3.31]
at org.springframework.core.type.AnnotatedTypeMetadata.getAnnotationAttributes(AnnotatedTypeMetadata.java:81) ~[spring-core-5.3.31.jar:5.3.31]
at org.springframework.context.annotation.AnnotationConfigUtils.attributesFor(AnnotationConfigUtils.java:285) ~[spring-context-5.3.31.jar:5.3.31]
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:103) ~[spring-context-5.3.31.jar:5.3.31]
...
I read the OpenRewrite documentation but could not find a page for Spring Cloud Stream, so do you have plans to support upgrading Spring Cloud Stream? Or can I contribute by adding a recipe to rewrite-spring?
hi @seachicken ! Any help developing Spring Cloud Stream related recipes would be much appreciated! Feel free to start with a draft pull request containing a couple of tests of the migrations you'd like to see, and then we'll figure out the next steps from there.
Hello, thanks for the fascinating tool! I ran the upgrade recipe to boot 2.7 on the below project using Maven CLI, but the application ran into an error when running because
spring-cloud-stream-dependencies
was not upgraded.My Environment
Run:
Error occurred on runtime:
I read the OpenRewrite documentation but could not find a page for Spring Cloud Stream, so do you have plans to support upgrading Spring Cloud Stream? Or can I contribute by adding a recipe to
rewrite-spring
?Originally posted by @seachicken in openrewrite/rewrite#4976
The text was updated successfully, but these errors were encountered: