For questions relating to the Spring Boot Starter POMs.
Questions tagged [spring-boot-starter]
221 questions
2
votes
3 answers
spring boot custom starter, define entities in it, without using @EntityScan. Is it possible?
I'm making some tests using custom starters for spring boot. I managed to configure everything except the entities. I've tryed using @Import to load entities in the @AutoConfiguration class but this does not work. Instead if we use @EntityScan in…

Pp88
- 830
- 6
- 19
2
votes
1 answer
Spring-boot-starter-activemq 3.0.0-M1 not found in the milestone repository
Even though the spring-boot-dependencies-3.0.0-M1.pom lists the spring-boot-starter-activemq-3.0.0-M1 as a dependency, spring-boot-starter-activemq-3.0.0-M1 is not available in https://repo.spring.io/milestone.

Yuvanakannan Ganesan
- 31
- 3
2
votes
1 answer
Logging system failed to initialize using configuration from 'null' java.lang.IllegalStateException: Logback configuration error detected:
I want to use a common xml in my logback-spring.xml? how to include the xml in logback-spring.xml without getting an error. I got that to include an xml in our logback-spring.xml we need to use but somehow this is not working for me. I have…

Lisbon
- 126
- 1
- 1
- 12
2
votes
0 answers
Overriding properties defined in custom spring-boot-starter doesn't work
On a classpath of my custom spring boot starter some-service-spring-boot-starter there is a application.yaml with bunch of default properties (such as server.port and others). I expected that in consumer app's application.yaml those properties can…

Yuri Dolzhenko
- 242
- 2
- 7
2
votes
0 answers
Programatically define RequestMappings for a custom Spring Boot starter
I'm trying to create a Spring Boot starter project that defines controllers programmatically based on the existence of certain types of beans. In the auto configuration class I defined a RequestMappingHandlerMapping where I register the handlers…

Psycho Punch
- 6,418
- 9
- 53
- 86
2
votes
0 answers
Error occurred during initialization of boot layer java.lang.module.FindException: Module jdk.management.agent not found
I am setting up my first Spring Boot application using Eclipse > New > Spring-Starter project
The project files are appearing and compiling.
I am even able to RunAs > Java project with console output.
On choosing RunAs > Spring Boot, I am getting…

Ashutosh Singh
- 21
- 2
2
votes
0 answers
What to do with overlapping spring boot starters
We have a pretty large codebase developed on Spring Boot and over the course of time, we have kept adding starters as required. I am going through a bit of housekeeping and have noticed that there are quite a bit of overlap in the dependencies…

Sayak Mukhopadhyay
- 1,332
- 2
- 19
- 34
2
votes
1 answer
Spring Boot 2.3.1 ElasticSearch 7.6.2
i'm trying to make a simple springboot project whom connects to a elastichsearch istance. I've to use springboot 2.3.1 and elasticsearch 7.6.2.
I've created my project with springinitialiazr and the relative pom.xml is…

GIULIO
- 41
- 8
2
votes
0 answers
Spring r2dbc + actuator not collecting metrics
I have set up a Spring boot application using version 2.2.2.RELEASE with both spring-boot-starter-data-r2dbc and spring-boot-actuator-autoconfigure-r2dbc on the classpath. I am however unable to see any r2dbc metrics on the actuator endpoint, even…

Eduardo Bueno
- 134
- 1
- 12
2
votes
1 answer
Enables Master/Replica operations with spring-boot-starter-data-redis-reactive
I'm using spring-boot-starter-data-redis-reactive and @SpringBootApplication annotation to auto configure redis connection. I have set up a redis cluster with 1 master and 2 slaves. I have the following config in the application.properties…

user3908406
- 1,416
- 1
- 18
- 32
2
votes
3 answers
How to disable spring-data-mongodb in spring-boot
I am new to SpringBoot. I have built a simple application which should use fake data in the development environment, and connect to MongoDb in the test environment. Dev environment does not have mongodb setup.
I have tried using Spring Boot…

TechiRik
- 1,893
- 6
- 27
- 37
2
votes
1 answer
How to package a customized spring-boot starter without main class using maven
I created a customized spring-boot starter project and want to deploy it to a remote maven repo. When I run mvn clean package deploy, I got an error said:
[ERROR] Failed to execute goal…

Tonny Tc
- 852
- 1
- 12
- 37
2
votes
0 answers
Migrating Java and Spring Boot
Trying to upgrade the versions of Java and SpringBoot.
While Updating SpringBoot Starter parent version as 2.1.1.Release from 1.5.5 getting this below Error when trying to build the project Maven clean install
incompatible types: boolean cannot be…

Thiru
- 759
- 2
- 9
- 19
2
votes
1 answer
is there any conflict between spring-boot-starter-parent version 2 and spring-security-jwt and spring-security-oauth2
I am trying to fix an issue I am facing with Spring Boot + Java 8 and Hibernate (my original question regard this issue is org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value did not match expected type…

Jim C
- 3,957
- 25
- 85
- 162
2
votes
2 answers
Unable to start spring boot application NoClassDefFoundError
I have changed spring-boot-starter-parent from 1.4.3 to 1.5.4
org.springframework.boot
spring-boot-starter-parent
1.5.4.RELEASE
This is…

Kiran
- 839
- 3
- 15
- 45