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
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
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 :)
Changing the annotation of the controller class from @Controller to @RestController solved my issue.