Questions tagged [spring-boot-starter]

For questions relating to the Spring Boot Starter POMs.

221 questions
1
vote
0 answers

Handling authentication in a Spring Boot REST API with a firebase token obtained from a front-end app

I am new to Spring Boot and Firebase. I have generated REST endpoints from my model and repositories using spring-boot-starter-data-rest. I also created a front-end application (front is a SPA written in React - back works with Spring boot - these…
1
vote
1 answer

Why is spring-boot-starter-mail causing a context error?

ello I am using SpringBoot to create a web-application and in the relevant code I am allowing a button to be clicked which removes an object from the database, and then sends an email to the email address of that object. Before I added the email…
Jack Goodwin
  • 99
  • 1
  • 6
1
vote
0 answers

Maven unable to download transitive swagger dependency

I have a Spring Boot (2.2.6) project that has another starter as a dependency: com.companyX.teamY Z-starter 0.0.1
夢のの夢
  • 5,054
  • 7
  • 33
  • 63
1
vote
1 answer

Spring Boot not working with dependent application.properties

I'm working with the Spring Boot 2.2.9.RELEASE. I have the main app and some plain starter (which just uses spring-actuator functionality) with some properties in its some-starter/src/main/resources/application.properties…
1
vote
1 answer

Why am I getting a warning related to 'type name collision' using graphql-spqr-spring-boot-starter?

Could someone please help me here, I'm getting a warning something related to 'type name collision' as follows. I'm using graphql-spqr-spring-boot-starter. 2020-06-06 19:04:15.972 WARN 22428 --- [ main]…
1
vote
2 answers

How to make a custom spring boot starter loadable while integration test?

We have created a custom spring boot starter which holds several common feature reusable cross internal projects. The starter is working fine as expected. However, while integration test, the projects using the starter are not able to find all beans…
Katy
  • 1,023
  • 7
  • 19
1
vote
1 answer

Maven module vs custom spring-boot starter

We are designing a new project which will be using Spring-boot and Maven (i.e. Multi-module project). The project will interact with several external applications (JMS, REST, DB). Hence, we will have modules like JMSConnector, RESTApiProxy. For…
Katy
  • 1,023
  • 7
  • 19
1
vote
1 answer

Should I include the dependency spring-boot-starter into my custom spring boot starter?

If I create a custom spring boot starter module, Do I need to include the dependency spring-boot-starter ? In the spring boot's github : some starters add the dependency spring-boot-starter to its pom.xml (spring-boot-starter-web,…
Olivier Boissé
  • 15,834
  • 6
  • 38
  • 56
1
vote
1 answer

application.properties not read with @EnableAutoConfiguration and custom spring boot starter

I try to create a simple custom spring boot starter that read property in application.properties : @EnableConfigurationProperties({ CustomStarterProperties.class }) @Configuration public class CustomStarterAutoConfiguration { @Autowired …
matdan
  • 13
  • 5
1
vote
1 answer

How to create a bean of AADAuthenticationProperties (azure)?

I cannot create a bean of AADAuthenticationProperties, and the reason sais that the property activeDirectoryGroups cannot be empty. The error is the following: Binding to target org.springframework.boot.context.properties.bind.BindException: Failed…
1
vote
1 answer

How to check if an spring boot application has a certain annotation in autoconfiguration class

I am creating my own spring boot starter to centralise some common configurations in my projects. I would like to let on of my @Configuration classes be only matched, if my spring boot app is annotated in a certain way like…
1
vote
1 answer

Gradle 'Implementation' Dependencies Are Runtime-Scoped When Project Has No Classes Of Its Own

I've got a Gradle multi-project build for a custom Spring Boot Starter. Following Spring Boot Starter convention, my classes are all in an 'autoconfiguration' project, and I have a separate 'starter' project that ONLY brings in the dependencies…
AForsberg
  • 1,074
  • 2
  • 13
  • 25
1
vote
0 answers

Spring AMQP sending many connection requests

I have a Spring-Boot application (Netflix Eureka), it should connect to rabbitMQ to provide the logs for logstash. If RabbitMQ is present evrything works fine, but if the server is not available it sends more than 20 requests to rabbitMQ per…
Avo
  • 21
  • 4
1
vote
0 answers

What is the best practice for a custom starter to provide http endpoints

Let's say I have a custom starter: compile ('com.github.hippoom:sms-verification-starter:0.7.0') You'll have a sms verification feature once you import it to your project. It will provide some beans by convention. The following code snippet in the…
Yugang Zhou
  • 7,123
  • 6
  • 32
  • 60
1
vote
1 answer

How do I setup a Cron Quartz Trigger on Startup

I am setting up a few CronTriggers to kickoff a few different batch jobs at different times. I have tried to search online, but can only find answers on how to schedule after say a web call or inside a different service class. I want theses…