為什么我復制spring boot 的jar包然后會報錯
按照步驟添加了這兩個依賴,跟視頻中粘貼的位置是一樣的。更新maven報錯
<parent> ? ? ? ?
????<groupId>org.springframework.boot</groupId> ? ? ? ?
????<artifactId>spring-boot-starter-parent</artifactId> ? ? ??
?????<version>2.0.5.RELEASE</version> ? ?
</parent>
<dependency>? ? ? ? ? ? ?
????<groupId>org.springframework.boot</groupId> ? ? ? ? ? ?
????<artifactId>spring-boot-starter-web</artifactId>? ? ? ? ?
</dependency>
2019-03-21
parent要放到dependencies上面,你位置放的有問題