As per the project requirement , I am going to migrate spring boot application from Springboot 2.7.6 to 3.0.0 version.

I have modified the below changes.

Changed the java version from java 11 to 17. i have modifed the spring boot starter parent version from 2.7.6 to 3.0.0 version.

I am able to build the application ,While starting the server getting the issue as below.

Issue Description::


APPLICATION FAILED TO START


Description:

Field empRepository in com.example.SpringBootDemo.Service.EmpService required a bean of type 'com.example.SpringBootDemo.repository.EmpRepository' that could not be found.

The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Autowired(required=true)

Action:

Consider defining a bean of type 'com.example.SpringBootDemo.repository.EmpRepository' in your configuration.

Process finished with exit code 1

I am able to replicate this issue , Please find the below repository git hub code.

https://github.com/nagaraju1692/SpringBootDemoCosmosDB

Comment From: wilkinsona

@nagaraju1692 please don't open duplicate issues. As I said on #35233, this will have to be addressed by the maintainers of azure-spring-boot-starter-cosmos. As far as I know, it does not yet support Spring Boot 3.0.