Can I convert Maven Project to SpringBoot

后端 未结 5 804
滥情空心
滥情空心 2021-02-06 00:00

I have a Maven Project in Eclipse and now I need to add database connectivity. My textbook did all json tutorials in Maven. Now in this chapter on JDBC they are using SpringBoot

5条回答
  •  别那么骄傲
    2021-02-06 01:00

    Yes you can use Springboot with Maven as dependency management. You will have to add spring boot dependencies

    
        org.springframework.boot
        spring-boot-starter-parent
        1.3.5.RELEASE
         
    
    

    Also add @SpringBootApplication and @EnableAutoConfiguration in the main class

提交回复
热议问题