1. Using Intellij IDE created a sample Spring-AI project by selecting following dependencies. dependencies { implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.ai:spring-ai-starter-model-openai' compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' }

  2. Start the app

  3. Get the following error `

APPLICATION FAILED TO START


Description:

Parameter 0 of method webClientSsl in org.springframework.boot.autoconfigure.web.reactive.function.client.WebClientAutoConfiguration required a bean of type 'org.springframework.boot.http.client.reactive.ClientHttpConnectorBuilder' that could not be found.

Action:

Consider defining a bean of type 'org.springframework.boot.http.client.reactive.ClientHttpConnectorBuilder' in your configuration.

Process finished with exit code 1 `