Closed Sudip7 closed 8 years ago
Short solution: downgrading parent pom to Spring Boot 1.4 M1 or upgrading to Spring Boot 1.4 M3 as suggested http://stackoverflow.com/questions/37276725/why-do-i-have-ambiguous-handler-methods-mapped-for-http-path-in-my-spring-boot-r.
moving out from Embedded MongoDB
If like to upgrade to standalone MongoDB as per requirement here is the solution.
a. removing embedded MongoDB dependency
Remove the following dependency from store service module
`
<artifactId>de.flapdoodle.embed.mongo</artifactId>
<scope>runtime</scope>
</dependency>`
b. adding spring boot autoconfigure dependency
Add the below dependency in store service module.
`
`
c. stating the MongoDB server(standalone/remote) before running the store service application
As we are longer using embedded MongoDB, MongoDB server needs to be started prior to running of store service module.
Hi,
I was attempting a dry run to test your code. I followed the instructions provided in the readme file. If I ran store service and customer service individually there is no problem. But each time, I tried to run them together I got above error. But the test case StoreRepositoryIntegrationTests working absolutely fine.
I am quite new to the cloud, eureka but have a bit experience in spring boot technology. For your reference have attached stack trace.
M I missing something??? Please assist!!!