Questions tagged [spring-boot-starter]

For questions relating to the Spring Boot Starter POMs.

221 questions
1
vote
0 answers

How to connect to several cassandra clusters at same time with Spring Boot Starter Data Cassandra

I need to connect to different cassandra clusters depended on input data. I have idea how to achieve that with manually creating cassandraTemplate for each cluster. but what about spring-boot-starter-data-cassandra? Does it allow achieve same…
rminko
  • 306
  • 4
  • 9
1
vote
2 answers

Whitelabel Error Page - application has no explicit mapping for /error

I have configured a spring boot application but on booting the application,I am getting mapping error as below Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Mon Dec 24 12:46:27 IST…
1
vote
3 answers

import spring-boot-starter by myself, start print error log 'Unable to read meta-data for class'

hello everybody, I have a problem with spring-boot-starter. I write some code to implement a starter But not working properly,when start my project idea console print error log: java.lang.IllegalStateException: Unable to read meta-data for class…
tao xie
  • 63
  • 1
  • 2
  • 5
1
vote
1 answer

Spring boot auto-configuration and properties

I have 2 modules in my project app & starter. Starter contains @Configuration and tells how a bean of ServiceFoo should be created. @Configuration @EnableConfigurationProperties(FooServiceConfiguration.class) public class StarterFoo { @Bean …
user3833308
  • 1,132
  • 3
  • 14
  • 39
1
vote
2 answers

Spring Boot Factory Bean Creation Order

I am trying to dynamically register Beans in Spring Boot, however the order of how the beans are created always result in a NoSuchBeanDefinitionException if it try to autowire one of the dynamic beans. My setup consists of two projects, one…
MaVe
  • 41
  • 9
1
vote
1 answer

Jersey json POST without DTO

The below code works @POST @Path("/{apiId}") @Consumes(MediaType.APPLICATION_JSON) public Response postMetricsData(String metricsData) { System.out.println(metricsData); return Response.ok().build(); } The below code is throwing…
thaneesh shanand
  • 453
  • 1
  • 5
  • 14
1
vote
4 answers

How to inject a properties in a class with implements ImportBeanDefinitionRegistrar?

I wanna use the properties to set some swagger docket to spring but I cant get the properties when I implements ImportBeanDefinitionRegistrar and get an error Caused by: java.lang.NoSuchMethodException: …
谢林志
  • 71
  • 1
  • 8
1
vote
1 answer

Multiple ActiveMQ listeners for multiple topics couldn't connect in spring boot project when clientId is set

I am using spring-boot-starter-activemq. When I am trying to listen using multiple listeners each for a different topic with clientId then only ONE listener is able to connect to a topic at random remaining doesn't connect saying already connected…
Vas K
  • 93
  • 9
1
vote
0 answers

Running Spring Boot App in AWS does not start

I have a Spring Boot application that starts without problem when executed locally. I want to run the app via AWS Lambda. I used the https://github.com/awslabs/aws-serverless-java-container and added the corresponding code as described in this…
1
vote
1 answer

hot swapping not working for Spring boot with Intellij and spring-boot-starter-web

My spring boot microservice uses spring-boot-starter-web and I'm trying to enable hot swapping in intellij. I tried adding the this dependency: org.springframework.boot
1
vote
2 answers

Spring Data JPA Custom Repository

I'm having some issues when trying to implement Custom Repositorys with Spring Data JPA. I try follow some references guides like this but I cant find the…
1
vote
1 answer

Should I create a new spring-boot starter or use optional dependencies?

I'm currently maintaining a fork of the jodconverter project which offers a spring-boot-starter module, allowing a spring-boot based app to use an Open/Libre Office installation (on the same server) to automate document conversions. Now, the project…
sbraconnier
  • 465
  • 5
  • 11
1
vote
0 answers

Spring boot custom starter , application doesn't find required bean

http://www.baeldung.com/spring-boot-custom-starter I have followed tutorial and github example provided from the link above and have implemented similar way. I am using spring-boot-starter-parent :2.0.0.M3. Even after including my custom starter…
Amit
  • 451
  • 1
  • 6
  • 19
1
vote
0 answers

Spring Security OAuth2 Could not obtain access token

I have a spring security oauth client which is authenticating against a custom auth0 provider. For getting the UserAuthorizationUri, i need to make a post request to a rest endpoint which is a wrapper on top of auth0. So i have extended…
Pradeep S
  • 333
  • 3
  • 13
1
vote
1 answer

Understanding @Enable... annotations concurrency

We have a project that uses spring-boot-cache-starter, registering an ehCache CacheManager implementation, and spreading @Cacheables accross the code. Then, some other team created an starter, that basically relies on the default configuration…
Whimusical
  • 6,401
  • 11
  • 62
  • 105