spring-boot-migrator icon indicating copy to clipboard operation
spring-boot-migrator copied to clipboard

Fix Boot_24_25_SeparateCredentialsRecipeTest

Open fabapp2 opened this issue 3 years ago • 0 comments

Describe the bug Boot_24_25_SeparateCredentialsRecipeTest passes in IntelliJ but fails with Maven.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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)

fabapp2 avatar Jul 11 '22 20:07 fabapp2