Can I convert Maven Project to SpringBoot

后端 未结 5 811
滥情空心
滥情空心 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:53

    1) Add Spring boot starter Parent and Web in Pom.xml file

    2) Add @SpringBootApplication in the main class

    3) Add SpringApplication.run(App.class, args); in main method.

提交回复
热议问题