How is idea's springboot deployed to the server's Tomcat's webapps directory?

I tried to war the springboot project under the webapps of tomcat, but how to access the url of controller? And what the file directory of springboot"s war package looks like, and I don"t know if I packed it right.

Jun.08,2022

should be selected in the pom file as a war package, and then directly maven-install can be packaged successfully, and then the finished war package should be placed under the server's tomcat


if you are just debugging in idea. You can add an artifact of the war_explored of your project to the second tab, and then there is a place where you can directly set your deployment path, which can be set as the root path, and then the url is directly ip:port + < path_in_spring_controller >

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e508c3-448fd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e508c3-448fd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?