Skip to content

Commit 90f6c9b

Browse files
author
Ximanta
committed
Updated ServletRegistrationBean to org.springframework.boot.web.servlet.ServletRegistrationBean
1 parent 0e44720 commit 90f6c9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<dependency>
5555
<groupId>com.h2database</groupId>
5656
<artifactId>h2</artifactId>
57-
<scope>runtime</scope>
57+
<scope>compile</scope>
5858
</dependency>
5959
<dependency>
6060
<groupId>org.postgresql</groupId>

src/main/java/guru/springframework/configuration/WebConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package guru.springframework.configuration;
22

33
import org.h2.server.web.WebServlet;
4-
import org.springframework.boot.context.embedded.ServletRegistrationBean;
4+
import org.springframework.boot.web.servlet.ServletRegistrationBean;
55
import org.springframework.context.annotation.Bean;
66
import org.springframework.context.annotation.Configuration;
77

0 commit comments

Comments
 (0)