Can I convert Maven Project to SpringBoot

后端 未结 5 802
滥情空心
滥情空心 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 00:39

    Here is described how to use maven for a SpringBoot Project.

    You will need to modify your existing pom.xml to add something like this to make it a SpringBoot Project:

    
    
        org.springframework.boot
        spring-boot-starter-parent
        1.2.2.RELEASE
    
    
    
    
        
            org.springframework.boot
            spring-boot-starter-web
        
    
    
    
    
        
            
                org.springframework.boot
                spring-boot-maven-plugin
            
        
    
    

提交回复
热议问题