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.
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.
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 >
.