spring-ai-starter-vector-store-pgvector doesn't work without spring-boot-starter-jdbc
envgap__spring-projects__spring-ai-6164
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
623a43e77d0737d39480b90a006a961aa95a650c- Manifest
starters/spring-ai-starter-vector-store-pgvector/pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
spring-projects/spring-ai #6164 · read the original issue
**Bug description**
When using spring-ai-starter-vector-store-pgvector as described here https://docs.spring.io/spring-ai/reference/2.0/api/vectordbs/pgvector.html
APPLICATION FAILED TO START
Description:
Parameter 0 of method vectorStore in org.springframework.ai.vectorstore.pgvector.autoconfigure.PgVectorStoreAutoConfiguration required a bean of type 'org.springframework.jdbc.core.JdbcTemplate' that could not be found.
**Environment**
spring-ai 2.0.0-M7
```xml
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-starter-vector-store-pgvector</artifactId>
</dependency>
```
<img width="515" height="207" alt="Image" src="https://github.com/user-attachments/assets/7834ebc7-8d91-40f2-b73e-bc8f40668386" />
<img width="502" height="186" alt="Image" src="https://github.com/user-attachments/assets/d71a1439-aa7e-4b2e-b2a7-6114985402af" />
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]