- 博客(3)
- 收藏
- 关注
原创 在tomcat中部署springboot服务
eg: 我可以通过访问http://localhost:8080/myblog/api/auth/login来访问我的登陆接口。可以通过访问http://<your address>:<port>/<war包名>来访问自己的Springboot项目。在tomcat/bin目录下,启动startup.bat,就可以成功启动了。tomcat在运行时会自动解析webapps目录下的war包。需要将Springboot项目打成War包。
2024-12-01 15:22:25
310
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人