You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mixed "Straight Web" and Spring Data Rest Fails #1707
Caused by: java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'repositoryController' bean method
public org.springframework.http.HttpEntity<org.springframework.data.rest.webmvc.RepositoryLinksResource> org.springframework.data.rest.webmvc.RepositoryController.listRepositories()
to {[/],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}: There is already 'mainController' bean method
java.lang.String wikiboot.support.MainController.index(org.springframework.ui.ModelMap) mapped.
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.registerHandlerMethod(AbstractHandlerMethodMapping.java:215)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.detectHandlerMethods(AbstractHandlerMethodMapping.java:187)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.initHandlerMethods(AbstractHandlerMethodMapping.java:147)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.afterPropertiesSet(AbstractHandlerMethodMapping.java:126)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.afterPropertiesSet(RequestMappingHandlerMapping.java:126)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1627)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1564)
... 44 more
I'm new around here and using Spring, so sorry if this question is wrong or out of context, but when is planned the next release of the Evans train and the estimated time of Boot 1.2 GA.
Just for curiosity..
Activity
wilkinsona commentedon Oct 14, 2014
I believe this is DATAREST-381. You can try using 2.3.0.BUILD-SNAPSHOT to confirm.
bep commentedon Oct 14, 2014
Yes, all works fine with 2.3.0.BUILD-SNAPSHOT.
wilkinsona commentedon Oct 14, 2014
Thanks for the confirmation. The fix will also be in 2.2.1 (part of SR1 of the Evans release train) which 1.2 will move to.
alvarezmario commentedon Oct 28, 2014
I'm new around here and using Spring, so sorry if this question is wrong or out of context, but when is planned the next release of the Evans train and the estimated time of Boot 1.2 GA.
Just for curiosity..
wilkinsona commentedon Oct 28, 2014
You can see a rough schedule for Spring Boot here. I'm not sure about Spring Data Evans SR1. @olivergierke can you comment please?
odrotbohm commentedon Oct 28, 2014
We'll ship Evans SR1 by Thursday, M1 of Fowler about to follow in two weeks.
alvarezmario commentedon Oct 28, 2014
Thanks for the info.
2014-10-28 14:47 GMT-05:00 Oliver Gierke [email protected]:
bep commentedon Oct 28, 2014
Is it Robbie Fowler the football player and Bill Evans the pianist :-?