新建的springboot项目启动后,没法访问到controllerspring
页面是404错误springboot
查看项目结构,发现是新建工程的启动类位置有问题,controller类应该位于引导类的同级包或者子级包中。须要将下图的引导类放在com.alphajuns包下便可访问controller3d