一:创建SpingBoot项目
点击新建项目
然后点击下一步
然后点击完成
然后创建一个新的index.html页面
有可能你的会报错所以加一个取消数据源的自动配置的一个注解。
application.properties里面还要配置一下Static
然后就出来了
二:SpringBoot项目的书写
UsersController:
package com.hp.controller;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.hp.entity.Stadium;
import com.hp.entity.User;
import com