Created
June 24, 2018 10:00
-
-
Save DenisNikashin/741061690320b42c473b9c6b2f225fff to your computer and use it in GitHub Desktop.
method getAllCustomers()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Caused by: java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'customerRestControllerVersion1' method | |
public org.springframework.http.ResponseEntity<java.util.List<com.restExample.customerDemo.model.Customer>> com.restExample.customerDemo.controller.CustomerRestControllerVersion1.getAllCustomers() | |
to {[/api/version1/customers/],methods=[GET],produces=[application/json;charset=UTF-8]}: There is already 'customerRestControllerVersion1' bean method | |
public org.springframework.http.ResponseEntity<com.restExample.customerDemo.model.Customer> com.restExample.customerDemo.controller.CustomerRestControllerVersion1.saveCustomer(com.restExample.customerDemo.model.Customer) mapped. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment