How to build maven after importing an java spring project

后端 未结 4 701
孤街浪徒
孤街浪徒 2021-01-29 09:00

Hello i am new to java spring concepts . .so i downloaded a sample spring application and import that into eclipse ..i have read from spring tutorials either i have to install m

4条回答
  •  南笙
    南笙 (楼主)
    2021-01-29 09:52

    Firstly, in my opinion we have to do clarity on a few things. Spring is a modular application container that provides some functionality like DI, IoC, Security and Transactional Context. These functionalities help the developers to build different kind of application. Maven instead is a tool of project managment that allows to handle the the application life cycle, dependencies, reporting ecc. Then you are not obliged to use maven with spring, but its use helps in many cases. Then first to add spring dependency in your pom you have to undestand what spring's module you need. For this reason you have to try to understand what you are doing and update you question. Only after this step somebody can help you

提交回复
热议问题