Home > OS >  Unable to launch war in vsCode
Unable to launch war in vsCode

Time:12-27

I have a problem i'm triing to launch a war with the tomcat server.

In fact, when i click to launch the war (run on tomcat server) and i go to a localhost:8080, the page of the server says that no wars are on server.

I have try to put the war directly in the application folder of the server, but it's the same thing.

Can someone help me ?

Is it a problem with the war ? i have try with an other war, it's the same thing ?

I'm using a window 10.

Thanks you

CodePudding user response:

.war is a archive file. You Must Open the file. You can rename the file to .tar and use any Tar Tape-archiver implementation. Or you can use 7zip to Open the file.

CodePudding user response:

  1. Install the Extension Tomcat for Java
  2. Turn to Tomcat Servers in left side, and add tomcat
  3. Right click the tomcat and choose start, after it's started successfully, right click and choose Debug War Package, this will debug the war, if you don't want it, just stop the debugging
  4. Rigth click the war then choose Open in Browser: enter image description here
  • Related