I am trying to deploy my spring boot application on WebSphere 9 but it is giving me: Error 404: java.io.FileNotFoundException: SRVE0190E: File not found: /myapp/Welcome Url used: http://localhost:9080/test/myapp/Welcome
Below are my changes for request mapping.
Class level mapping: @RequestMapping("/myapp") Method level mapping : @GetMapping("/Welcome") // which returns the Html page Welcome.html
Added the context root in pom.xml
WAS9.0 admin console changes
- Setting the context path as /test
- Setting the class loading order After installing war. Click on war application-> class loading and update detection -> class loading with local class loader first (parent last)
When i am trying to hit the http://localhost:9080/test/myapp/Welcome url the server giving: Error 404: java.io.FileNotFoundException: SRVE0190E: File not found: /myapp/Welcome
Please help on this to resolve