Tomcat does not display jsp pages on the production server

Asked

Viewed 179 times

1

I’m using the Tomcat 8 in my application, when I Gero the .war to make the deploy he apparently does everything right.

However, when I go to the page /index.jsp is giving error 404.

When I check the files on the server, they’re all there, all the Jsps.

What might be going on?

  • Have you tried checking the web apps folder of Tomcat and see if your . War is actually there? and what name was generated in that. War, because this will be the context of access to your page.

  • Complementing what the colleague said and added information, inside the folder webapps, must have the unzipped folder of your project and the file war that vc Gero, vc tb can take a look at the file catalina.out which is in the folder logs.

1 answer

0

To enter index.jsp, leave it only inside the Webcontent folder and not inside Webcontent/WEB-INF .

As in the Example: inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.