I deployed spring boot war file on ec2 instance under tomcat's webapps folder (ROOT.war) and extract file but in webapps folder WEB-INF folder created instead of ROOT,I rename WEB-INF to ROOT and try to access API via postman that time 404 error showing