Spring Boot with Spring HATEOAS Maven conflicts -


it seems when add dependency spring-hateoas

<groupid>org.springframework.hateoas</groupid>     <artifactid>spring-hateoas</artifactid>     <version>0.13.0.release</version> 

the class below no longer available on classpath

org.springframework.web.bind.annotation.restcontroller; 

i have tried exclude various dependencies spring-hateoas app no longer runs.

has had luck running spring-hateoas within spring boot.

absolutely no problem whatsoever. @restcontroller annotation still available , shouldn't need exclusion.

in case helps, i'm using version 1.0.2 of spring boot:

<parent>     <groupid>org.springframework.boot</groupid>     <artifactid>spring-boot-starter-parent</artifactid>     <version>1.0.2.release</version> </parent> 

spring-boot-starter-web provides @restcontroller:

<dependency>     <groupid>org.springframework.boot</groupid>     <artifactid>spring-boot-starter-web</artifactid> </dependency> 

i don't define explicit version spring-hateoas in pom.xml, build pulling in 0.9.0.release:

<dependency>     <groupid>org.springframework.hateoas</groupid>     <artifactid>spring-hateoas</artifactid> </dependency> 

as side note, can see eclipse pom editor, spring hateoas defining dependencies on spring 3.2.7. spring-boot-starter-parent project manages versions 4.0.3. can see version of spring getting? have perhaps not used spring-boot-parent parent project?


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -