Commit 92d6b8ad8821972fd9aa8497b39d313721fd440f
1 parent
f8fc3101
【功能修复】AI:spring-ai-tika-document-reader 引入了 cloud 依赖,导致启动报错
Showing
1 changed file
with
11 additions
and
0 deletions
yudao-module-ai/yudao-spring-boot-starter-ai/pom.xml
| @@ -57,6 +57,17 @@ | @@ -57,6 +57,17 @@ | ||
| 57 | <groupId>${spring-ai.groupId}</groupId> | 57 | <groupId>${spring-ai.groupId}</groupId> |
| 58 | <artifactId>spring-ai-tika-document-reader</artifactId> | 58 | <artifactId>spring-ai-tika-document-reader</artifactId> |
| 59 | <version>${spring-ai.version}</version> | 59 | <version>${spring-ai.version}</version> |
| 60 | + <!-- TODO 芋艿:boot 项目里,不引入 cloud 依赖!!!另外,这样也是为了解决启动报错的问题! --> | ||
| 61 | + <exclusions> | ||
| 62 | + <exclusion> | ||
| 63 | + <artifactId>spring-cloud-function-context</artifactId> | ||
| 64 | + <groupId>org.springframework.cloud</groupId> | ||
| 65 | + </exclusion> | ||
| 66 | + <exclusion> | ||
| 67 | + <artifactId>spring-cloud-function-core</artifactId> | ||
| 68 | + <groupId>org.springframework.cloud</groupId> | ||
| 69 | + </exclusion> | ||
| 70 | + </exclusions> | ||
| 60 | </dependency> | 71 | </dependency> |
| 61 | <dependency> | 72 | <dependency> |
| 62 | <groupId>${spring-ai.groupId}</groupId> | 73 | <groupId>${spring-ai.groupId}</groupId> |