Skip to content

Commit 19d5975

Browse files
authored
Fix ClassCastException: com.fasterxml.jackson.datatype.jsr310.JavaTimeModule cannot be cast to com.fasterxml.jackson.databind.Module
1 parent e2b14c3 commit 19d5975

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

pom.xml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,71 @@
9696
<type>jar</type>
9797
<scope>compile</scope>
9898
</dependency>
99+
<dependency>
100+
<groupId>io.swagger.core.v3</groupId>
101+
<artifactId>swagger-core</artifactId>
102+
<version>2.2.23</version>
103+
<scope>compile</scope>
104+
<exclusions>
105+
<exclusion>
106+
<groupId>org.slf4j</groupId>
107+
<artifactId>slf4j-api</artifactId>
108+
</exclusion>
109+
<exclusion>
110+
<groupId>javax.validation</groupId>
111+
<artifactId>validation-api</artifactId>
112+
</exclusion>
113+
<exclusion>
114+
<groupId>jakarta.activation</groupId>
115+
<artifactId>jakarta.activation-api</artifactId>
116+
</exclusion>
117+
<exclusion>
118+
<groupId>jakarta.validation</groupId>
119+
<artifactId>jakarta.validation-api</artifactId>
120+
</exclusion>
121+
<exclusion>
122+
<groupId>jakarta.xml.bind</groupId>
123+
<artifactId>jakarta.xml.bind-api</artifactId>
124+
</exclusion>
125+
</exclusions>
126+
</dependency>
127+
<dependency>
128+
<groupId>io.swagger</groupId>
129+
<artifactId>swagger-annotations</artifactId>
130+
<version>1.6.14</version>
131+
<scope>provided</scope>
132+
</dependency>
133+
134+
<dependency>
135+
<groupId>com.fasterxml.jackson.core</groupId>
136+
<artifactId>jackson-core</artifactId>
137+
<scope>provided</scope>
138+
<version>2.18.0</version>
139+
</dependency>
140+
<dependency>
141+
<groupId>com.fasterxml.jackson.core</groupId>
142+
<artifactId>jackson-annotations</artifactId>
143+
<scope>provided</scope>
144+
<version>2.18.0</version>
145+
</dependency>
146+
<dependency>
147+
<groupId>com.fasterxml.jackson.core</groupId>
148+
<artifactId>jackson-databind</artifactId>
149+
<scope>provided</scope>
150+
<version>2.18.0</version>
151+
</dependency>
152+
<dependency>
153+
<groupId>com.fasterxml.jackson.datatype</groupId>
154+
<artifactId>jackson-datatype-jsr310</artifactId>
155+
<scope>provided</scope>
156+
<version>2.18.0</version>
157+
</dependency>
158+
<dependency>
159+
<groupId>com.fasterxml.jackson.dataformat</groupId>
160+
<artifactId>jackson-dataformat-yaml</artifactId>
161+
<scope>provided</scope>
162+
<version>2.18.0</version>
163+
</dependency>
99164
</dependencies>
100165
</dependencyManagement>
101166

0 commit comments

Comments
 (0)