Create Multi-Module Spring Boot Project in Spring Tool Suite (STS)

preview_player
Показать описание
In this video, I'd like to share with you guys how to create a multi-module Spring Boot project with Maven in Spring Tool Suite IDE (STS). Suppose that you have the following development scenario:
- The AdminApp project for admin application (Spring Boot)
- The CustomerApp project for customer application (Spring Boot)
- A shared library project that contains common code that is used by the admin and customer projects (normal Java library project)

You'll learn how to create the root project, add modules and create Spring Boot projects for modules.
Рекомендации по теме
Комментарии
Автор

This helped me a lot, I was stuck in a large course on Kafka and CQRS with the instructor using IntelliJ to do these things and now I'm back on track!

bluex
Автор

Thanks Buddy. It helps me to understand the Multi_Module_App Structure.

ankittyagi
Автор

Hello question in this one, if I use multi module. Say, MODULE 1 and Module 2, I inject the service from Module 2 to Module 1, when we build them they have separate jars. Do they still work or communicate to each other?

denmarkgarcia
Автор

I have built a project like in the video with some more classes and I run AdminApp in cmd but it keeps throwing error that net.codejava.lib... doesn't exist and all the thing that I have to take from sharedLibrary to use in AdminApp doesn't exist.Can you tell me how to fix that.Thank you

korara
Автор

Thank you very much looks like I am on my way

celilgunes
Автор

Hey there does your "SharedLibrary" project already contain a pom.xml? My first issue is STS is complaining when I try to import the project that it already contains a pom.xml.

Also, when I add our module as a "Maven Project" it does not add it to the root Maven project that was created, it just adds it separately as a separate project in the IDE

keithscull
Автор

Is Multi Module project and spring micro services both are same?

maddipatlamadhura
Автор

A Nam ơi e chia module v thì STS mở đc nhưng mở bằng netbean 12 thì lại bị lỗi kh import đc từ project commom

mersy
Автор

If we create a multimodule project will that jar be a single fat jar of parent with all modules or separate jars for each module

saipriyadarshinibandi
Автор

Can you please tell me how to run individual projects in multimodular project...while I am trying to run individual projects in multimodular I am getting some error...can you resolve it...?

supriyadivvela
Автор

Hi sir please upload Spring boot store procedure MVC topic.

arulmurugan
Автор

This is really good example for beginners. can we download this project? Can you give GIT repo url? Thanks in advance.

sunilkumarsuman
Автор

Dear Sir, How to AdminApp and CustomerApp to running together on Port 8080???

tranat