摘要: 3.解决Whitelabel Error Page的问题 # application.properties server.servlet.context-path=/restful-demo package com.example.demo; import org.springframework.b 阅读全文
posted @ 2020-08-28 12:03 gzhjj 阅读(7809) 评论(0) 推荐(0) 编辑
摘要: 1.使用STS创建SpringBoot项目 创建的SpringBoot项目默认是没有web.xml文件的,需要手动添加。 SpringBoot项目的结构如下: 2.遇到Whitelabel Error Page的问题 package com.example.model; public class G 阅读全文
posted @ 2020-08-28 12:01 gzhjj 阅读(1122) 评论(0) 推荐(0) 编辑