[英]What is the web dependency in the Kotlin Spring Boot tutorial?
在Kotlin Spring Boot教程中,它要求您包括Web依賴項,如下所示:
但是在實際的Spring Boot initializr中 ,我沒有看到:
需要什么Web依賴項? 是Spring Web Starter嗎? 本教程是否過時和/或已過時?
spring web starter
是您需要選擇的一個,它是本教程中所指的東西。
它的全名。
如果您看一下教程,他們以后會顯示pom.xml
在那里您可以看到他們已經聲明了:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
而且這個聚會看起來仍然不錯,所以繼續努力吧。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.