For questions relating to the Spring Boot Starter POMs.
Questions tagged [spring-boot-starter]
221 questions
3
votes
1 answer
Why doesn't my Spring Boot starter bring its dependencies to the project?
I've created a simple starter - TimeStarter with RestController inside. Here is its pom:
org.springframework.boot
spring-boot-starter-parent
2.5.0
…

Eugene_Z
- 235
- 2
- 12
3
votes
1 answer
Spring boot starter with own Entity and Repository
I would like to create a spring boot starter module which has its own entity and repository. But how can I in the autoconfiguration append an entity to the spring context? The spring boot service using this module will have its own entities so it…

Ole Bille
- 469
- 2
- 14
3
votes
1 answer
Spring boot custom starter and Spring Data JPA - How to correctly provide repositories on my own custom autoconfigure/starter module
I am trying to write an autoconfigure / starter module for one of my project. This module handles the persistence through Spring Data JPA. It aims at providing several spring data repositories.
Right now, my autoconfiguration looks like…

Momh
- 732
- 5
- 17
3
votes
0 answers
How to test @RepositoryRestResource automatically generated endpoints in spring-boot-starter-data-rest?
Including spring-boot-starter-data-rest and another persistence repository (in my case spring-boot-starter-data-mongodb) you have endpoints for CRUD in REST automatically (assuming you have a main class containing main method annotated with…

vbledar
- 51
- 2
3
votes
1 answer
Spring boot 2 actuator without autoconfiguration
Can anyone help me to figure out how to enable actuator endpoints without using autoconfiguration dependencies?
I'm working on a Spring-Boot 2 project but starter poms and autocnfiguration dependencies are forbidden.

Lost_dev
- 31
- 1
3
votes
0 answers
gRPC spring-boot-starter can not bind @GRpcGlobalInterceptor?
I m using
org.lognet
grpc-spring-boot-starter
2.1.4
org.springframework.boot
…

zhatian diao
- 163
- 1
- 9
3
votes
1 answer
Including profiles via a Spring Boot starter
I'm having issues with a custom Spring Boot starter. How can a starter cause a profile to be included and pull related configuration from a config server?
Perhaps my use case is unique, because I haven't found any helpful information online. I'm…

Ryan O.
- 41
- 4
3
votes
2 answers
Error after dependency of Redis (spring-boot-starter-data-redis) added in spring-boot
When I add below dependency to pom.xml
org.springframework.boot
spring-boot-starter-data-redis
Below error comes
2018-05-31 12:02:38.217 INFO 1416 ---…

Shiv
- 199
- 5
- 16
3
votes
2 answers
Cannot start tomcat server when having "spring-boot-starter-test" dependency in classpath
My spring boot web application stopped immediately without any error message when starting:
:: Spring Boot :: (v2.0.1.RELEASE)
2018-04-19 17:15:34.009 INFO 5600 --- [ main] o.apache.catalina.core.StandardService : Starting…

Neo
- 2,196
- 5
- 32
- 58
3
votes
0 answers
Handling different Spring Boot versions in custom Spring Boot Autoconfiguration projects
In custom Spring Boot Autoconfiguration projects I usually have some dependencies which are marked as optional. As I need them for compilation, but expect users of my autoconfig to include them manually in their own POM, or they will be provided by…

jhyot
- 3,733
- 1
- 27
- 44
3
votes
2 answers
spring-boot-starter-quartz jdbc example
Starting with spring-boot 2.x.x they started offering spring-boot-starter-quartz which is great! Out of the box it does an in-memory store. I want to change it to be a clustered environment but I'm having issues with the configuration I think mostly…

Tim Levett
- 31
- 1
- 3
3
votes
1 answer
Are Spring-Boot-Test @MockBeans supposed to qualify for @ConditionalOnBean conditions?
I have a java @Configuration class with a FOO @Bean annotated with @ConditionalOnBean(BAR.class). As I expect this bean to be or not provided by the importer project, it's not present anywhere in my project.
In my integration test, I mock Bar.class…

Whimusical
- 6,401
- 11
- 62
- 105
2
votes
1 answer
Spring boot giving different hashcode for singleton scoped bean
@Component
@Qualifier("impl1")
public class Implementation1 implements BaseInterface{
@Override
public String process() {
return "Implementation1";
}
}
@RestController
public class HomeController {
…

Piyush Lovanshi
- 21
- 2
2
votes
1 answer
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. SpringBott 3.1.0
I have a project with these dependencies:
id "org.springframework.boot" version "3.1.0"
implementation "org.springframework.boot:spring-boot-starter-data-couchbase"
implementation…

Emanuel
- 55
- 4
2
votes
0 answers
Custom AutoConfiguration is not detected by spring application
Hi I created one custom auto configuration library as following:
@Configuration
@EnableConfigurationProperties(RefreshProperties.class)
public class PropertiesRefresherAutoConfiguration {
public static final String AUTO_REFRESH_ENABLED =…

scorpion
- 21
- 3