digital-preservation/droid

Spring framework update fails

sparkhi opened this issue · 0 comments

Dependabot PR for spring framework version update fails with following error

Error:  Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project droid-core-interfaces: Compilation failure
Error:  /home/runner/work/droid/droid/droid-core-interfaces/src/test/java/uk/gov/nationalarchives/droid/core/interfaces/archive/ArchiveFileUtilsTest.java:[58,44] cannot access org.springframework.test.util.AssertionErrors
Error:    bad class file: /home/runner/.m2/repository/org/springframework/spring-test/6.0.10/spring-test-6.0.10.jar(org/springframework/test/util/AssertionErrors.class)
Error:      class file has wrong version 61.0, should be 52.0
Error:      Please remove or make sure it appears in the correct subdirectory of the classpath.
Error:  -> [Help 1]