spring-boot-migrator
spring-boot-migrator copied to clipboard
Fix Boot_24_25_SeparateCredentialsRecipeTest
Describe the bug
Boot_24_25_SeparateCredentialsRecipeTest passes in IntelliJ but fails with Maven.
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior Test should pass in Maven and IntelliJ
Stacktrace
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.94 s <<< FAILURE! - in org.springframework.sbm.boot.upgrade_24_25.recipes.Boot_24_25_SeparateCredentialsRecipeTest
[ERROR] test Time elapsed: 12.94 s <<< ERROR!
java.lang.NoSuchMethodError: 'void org.openrewrite.text.PlainText.<init>(java.util.UUID, java.nio.file.Path, java.lang.String, boolean, org.openrewrite.marker.Markers, java.lang.String)'
at org.springframework.sbm.boot.upgrade_24_25.recipes.Boot_24_25_SeparateCredentialsRecipeTest.test(Boot_24_25_SeparateCredentialsRecipeTest.java:38)