diff --git a/spring-data-rest/pom.xml b/spring-data-rest/pom.xml index dd96182264..bfbd66a280 100644 --- a/spring-data-rest/pom.xml +++ b/spring-data-rest/pom.xml @@ -35,7 +35,7 @@ org.springframework.data - spring-data-rest-hal-browser + spring-data-rest-hal-explorer org.springframework.boot @@ -99,7 +99,6 @@ com.baeldung.books.SpringDataRestApplication 1.0 - 2.3.3.RELEASE \ No newline at end of file diff --git a/spring-data-rest/src/main/java/com/baeldung/halbrowser/config/RestConfig.java b/spring-data-rest/src/main/java/com/baeldung/halbrowser/config/RestConfig.java index 73f7e0f26a..a322bf0027 100644 --- a/spring-data-rest/src/main/java/com/baeldung/halbrowser/config/RestConfig.java +++ b/spring-data-rest/src/main/java/com/baeldung/halbrowser/config/RestConfig.java @@ -4,11 +4,11 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Lazy; import org.springframework.data.rest.core.event.ValidatingRepositoryEventListener; -import org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerAdapter; +import org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer; import org.springframework.validation.Validator; @Configuration -public class RestConfig extends RepositoryRestConfigurerAdapter { +public class RestConfig implements RepositoryRestConfigurer { //access to global validator @Autowired