瀏覽代碼

fix:【ai 大模型】swagger-annotations-jakarta 依赖冲突

YunaiV 8 月之前
父節點
當前提交
100bdf8230
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      yudao-module-ai/pom.xml

+ 6 - 0
yudao-module-ai/pom.xml

@@ -78,6 +78,12 @@
             <groupId>org.springframework.ai</groupId>
             <artifactId>spring-ai-starter-model-openai</artifactId>
             <version>${spring-ai.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>io.swagger.core.v3</groupId>
+                    <artifactId>swagger-annotations-jakarta</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.springframework.ai</groupId>