All Questions
Tagged with multi-module spring
81 questions
0
votes
0
answers
42
views
Swagger UI and APIs of Other Modules Not Accessible in Multi-Module Spring Boot Project After Deployment
I am working on a multi-module Spring Boot project where I have configured Swagger to generate API documentation. The project structure includes several modules like client-management, institution-...
0
votes
1
answer
207
views
Main class name has not been configured and it could not be resolved from classpath
I'm encountering an issue while implementing a Spring multi-module project and need some help. The goal is to structure the modules using Spring and build each module into a container using Docker.
...
-1
votes
2
answers
89
views
String boot multi module application running
For a long time, I am struggling to find a solution. I am trying to build a spring boot multi-module project.
I have two modules for practice purposes, later I will add more modules in my real project....
0
votes
0
answers
41
views
How to test a repository with an embedded ddbb in a multimodule project?
I have a multimodule project with the following structure:
project
api module (containing the rest controllers, the main class and the properties configuration)
core module (containing the ...
1
vote
0
answers
91
views
How to connect a multi-module application to a database?
Building an multi module application using Spring Boot, Implementing a hexagonal architecture where I have a domain module, application module and infrastructure module. Each module has a :domain ...
0
votes
0
answers
112
views
Spring + Kotlin + Gradle + Multi module - configuration
I have a project written in Kotlin with Spring and Gradle. https://github.com/skoczman/oremus/tree/main
I have two problems:
Gradle configuration - Gradle is building successful now, but I'm not sure,...
0
votes
0
answers
71
views
How do I structure the dependencies in a Gradle MultiModule Project?
So I am currently working on a multimodular spring boot application and I am using gradle as the built tool.
So I have a main module which consists of the following:
plugins {
id 'java'
id '...
0
votes
2
answers
322
views
Using gradle to conditionally add beans to a spring project
I'm trying to think of a way to conditionally add (or augment) behaviour in my Spring boot project. The use-case is such: When a project is built for a particular customer, they have custom ...
0
votes
0
answers
88
views
Maven Multi-module dependency package does not exist
I've got a multi module project
I want to use the methods (services, entities) of the web module in the batch module.
I am using it by adding the dependency of the web module.
There is no problem when ...
1
vote
1
answer
339
views
@Autowired not working in multi-module application
I need to @Autowire database services or repositores form "database" module in "game" module.
Already added those annotations in main "Application" class:
@Configuration
@...
1
vote
2
answers
2k
views
How to create per module application.properties in spring boot?
I have a spring boot project in which there are multiple modules, I want to have each module separate application properties file, but when I added properties file in all modules, it's still picking ...
2
votes
1
answer
212
views
Spring Web projects multi module
Regarding modern multi-module constructions.
Can many Spring Web projects be imported into one another?
- Project 1 ==> have some endpoints
- Project 2 ==> have some other
endpoints
I ...
0
votes
0
answers
548
views
Why Spring Security throws 401 when placed in a different module?
I'm trying to create a Gradle multi-module project following the hexagonal architecture.
Currently, my project looks like this when executing ./gradlew -q projects:
All is working except for Spring ...
0
votes
1
answer
215
views
How can I dockerize multi module Spring app?
I'm trying to dockerize my multi module application (i'm using hexagonal architecture with Port and Adapters pattern).
Here is the structure of my application:
App structure
My root pom looks in this ...
0
votes
1
answer
1k
views
Spring boot (and web) multi module project
I'm attempting to create a multi-module spring boot project (a rewrite of a Struts2/Ibatis project) that I wish to lay out as follows:
-- Parent project. //contains <properties> that should be ...