Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(exception): replace NestedIOException with IOException durin…
…g upgrade of spring boot 3.0.x While upgrading the spring boot to 3.0.13 and spring cloud 2022.0.5, encountered the below errors during build process of kork-crypto module: ``` > Task :kork-crypto:compileJava FAILED /kork/kork-crypto/src/main/java/com/netflix/spinnaker/kork/crypto/NestedSecurityIOException.java:20: error: cannot find symbol import org.springframework.core.NestedIOException; ^ symbol: class NestedIOException location: package org.springframework.core /kork/kork-crypto/src/main/java/com/netflix/spinnaker/kork/crypto/NestedSecurityIOException.java:22: error: cannot find symbol public class NestedSecurityIOException extends NestedIOException { ^ symbol: class NestedIOException 2 errors ``` The root cause is the removal of `org.springframework.core.NestedIOException` from springframework 6.0, as mentioned in the below links: spring-projects/spring-framework#28198 spring-projects/spring-framework#28929 So, replacing `org.springframework.core.NestedIOException` with `java.io.IOException`.
- Loading branch information