最近学习springboot的时候遇到一个问题,创建好一个springboot的项目但是启动不了,然后添加了web依赖之后就能正常启动了,这是为什么啊,求指教.
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>