'Spring boot MultipartFile request returns 404
I make post multipart request and get 404
see that: the path is correct!!
here it is my controlller: my controller
here it is my Bean: Bean registration
Please note that i dont get any error!! Only 404
What can be the isssue? Thank you
Solution 1:[1]
UPDATE I have found the issue I have 2 kind of controllers 1 - Javax (Jakarta) controller with prefix "rest" 2 - Spring Controller (that i tried to create) with same "rest prefix
I understood that we cannot have those different controllers with same prefix this causes a conflict I have just renamed the second prefix to "restapi" and both are working! It took me 2 weeks to resolve it :)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Mickael Benaroch |
