Eclipse SpringBoot jsp打包部署

第一步:導入jar包依賴( a,打包方式設置爲war b,spring-boot-starter-web內嵌tomcat c,servlet.api支持必須要 ) 第二步:編寫tom啓動方式(把springBoot默認啓動方式交給tomcat方式) 1--這是springBoot啓動方式 2---創建同包目錄 3---把spring啓動方式交給spring建造者 4---打包部署(打war包) c
相關文章
相關標籤/搜索