springboot创建web工程须知 1.new => spring starter project 2.创建工程名称 略过 3.注意点 controller要访问页面成功: 1.return "/index"; //前面不应该增加“/” 2.保证目录建的没问题,static / templates 之前遇到的问题就是templates少写了一个s,导致页面访问一直不成功