For questions relating to the Spring Boot Starter POMs.
Questions tagged [spring-boot-starter]
221 questions
2
votes
0 answers
Togglz Yml/Yaml Configuration for My SpringBoot Not working
Trying to create Feature Toggles using Togglz.
Made below configurations/code in my Application,
bootstrap.yml:
togglz:
enabled: true
features:
FEATURE_ONE: true
Feature Enum Class:
public enum AppFeatures implements…

RajeysGS
- 47
- 1
- 7
1
vote
1 answer
Consider defining a bean of type 'org.springframework.batch.core.configuration.annotation.JobBuilderFactory' in your configuration
APPLICATION FAILED TO START
Parameter 0 of constructor in com.example.persistence.batch.BatchConfiguration required a bean of type 'org.springframework.batch.core.configuration.annotation.JobBuilderFactory' that could not be found.
I am trying to…

Pranay Jadhav
- 11
- 4
1
vote
2 answers
IntelliJ Could not autowire. No beans of 'xxx' type found. Custom Starter Library
We created a Spring starter library where we expose a configuration class. Below is the spring.factories and the configuration…

andresmonc
- 398
- 7
- 21
1
vote
0 answers
Liquibase migrations from custom spring-boot-starter
I am developing a custom spring-boot-starter that can be included in any project. For it work it need to create a couple of tables in the database in the main application. For this I use liquibase migrations which are described in the…

Kirill Zhurbin
- 51
- 3
1
vote
1 answer
How to add code template which will be available to be added later to my later spring boot projects readily?
i want to create a setup in which i have template code(s) which when starting a new spring boot project can be easily added into the new project.
I tried finding stuff on net which mostly showed adding a custom service or a dependency in the…

Jaideep SINGH
- 11
- 1
1
vote
1 answer
Are extra reflection configurations needed for custom Spring Boot starter libraries when using Spring Native?
I am in the process of building a set of shared libraries using custom Spring Boot starter auto configuration per guidance from https://docs.spring.io/spring-boot/docs/2.6.7/reference/htmlsingle/#features.developing-auto-configuration. Great feature…

Wenqi Glantz
- 11
- 3
1
vote
1 answer
Query method not supported - Redis datasource, Spring boot starter data redis (2.6.3) and CRUD repository
I am using redis as my data store and i am using spring boot starter data redis as the dependency and a crud repository for CRUD operation. When i do deleteById it is working. But when i do deleteByName (Name is not an id column) it is saying query…

Lakshmi K
- 11
- 1
1
vote
2 answers
Can't get swagger2 to display swagger-ui.html
The problem
Am learning java spring boot and my problem is getting the swagger front-end to load from http://localhost:8080/swagger-ui.html#/
I get the console message as follows:
WARN 23432 --- [nio-8080-exec-9] o.s.web.servlet.PageNotFound …

mikepoole72
- 65
- 2
- 9
1
vote
2 answers
How to fix log4j vulnerability
I heard Log4j core is vulnerable according to https://spring.io/blog/2021/12/10/log4j2-vulnerability-and-spring-boot
So I need a fix to get rid of vulnerabilities from my services!
I am trying to bump up log4j from older versions to 2.15.0
I can…

Dupinder Singh
- 7,175
- 6
- 37
- 61
1
vote
1 answer
Having a trouble with decoding a url query parameter by @RequestParam Spring @RestController
Url looks like: /getUserConnectionsList?login=**********&pagelimit=25&page=1&ot=asc&of=openDatetime§ion=userActivity
@PostMapping(path = "getUserConnectionsList", params = {"login"})
public String getUserConnectionsList(@RequestParam String…

Yuriy
- 11
- 4
1
vote
1 answer
How to config max-delivery-attempts for Spring Boot with Embedded ActiveMQ Artemis?
I would like to config the max-delivery-attempts of dead letter as described in the manual.
I tried Spring Boot with embedded ActiveMQ Artemis JMS server, but cannot figure out how to set max-delivery-attempts value.

nonono
- 46
- 1
- 5
1
vote
0 answers
Spring Boot upgrade to 2.5.4 not compatible with spring-cloud 2020.0.3
The previous version were
Spring Boot starter - 2.2.4.RELEASE
spring-cloud.version - Hoxton.SR1
Upgraded to
Spring Boot starter - 2.5.4
spring-cloud.version - 2020.0.3
According to https://spring.io/projects/spring-cloud Release Train they are…

Sashank Sekhar Singh
- 27
- 1
- 9
1
vote
1 answer
How to validate java plain methods using javax validation
I am validating java beans using spring-boot-starter-validation.
Validation on the controller is working fine,
I want to know whether can we validate the normal methods of a class using @Valid annotation? I have tried it but not working.
My working…

LearnToCode
- 169
- 1
- 5
- 19
1
vote
1 answer
Extend Spring Bean Validation for the class members
I have a spring boot application and I am using spring-boot-starter-validation dependency to validate java bean.
My Controller code as below
@PostMapping("/testMessage")
ResponseEntity testMethod(@Valid @RequestBody InternalMsg…

LearnToCode
- 169
- 1
- 5
- 19
1
vote
3 answers
How to fix springboot error Failed to retrieve RMIServer stub: javax.naming.CommunicationException error during JRMP connection establishment
I am having issue with springboot maven project and cassandra in docker.
I want to execute mvn verify and in pre-integration-test to start cassandra docker and api server, execute test and then in post-integration-test to stop server but I am facing…

gandra404
- 5,727
- 10
- 52
- 76