Questions tagged [spring-boot-starter]

For questions relating to the Spring Boot Starter POMs.

221 questions
0
votes
2 answers

Is it possible to configure the spring boot server explicitly?

I've a Spring Boot application where one of the dependencies is using spring and a embedded jetty to start an ad-hoc web server. This causes my spring boot app to start in a jetty instead of a tomcat. My spring-boot-starter-web:
0
votes
0 answers

Background image won't show on only on iPhone devices

I'm working on a website and it's nearly finished, I've solved a lot of problems using this StackOverflow, so thank you very much. But I failed to find a solution to this problem. So the problem is that the background image of the intro website…
syd
  • 13
  • 4
0
votes
2 answers

Nullpointer Exception while pushing app to PCF Cloud with Microsft Azure dependency

We are using Microsoft Azure to store files and using com.microsoft.azure:azure-storage-spring-boot-starter dependency. The connection URL is good to connect to azure and the app is running properly in local. It is giving NullPointerException while…
user09
  • 920
  • 2
  • 12
  • 38
0
votes
1 answer

How to add small changes to the default behavior of spring-boot-starter-data-rest?

I am using spring-boot-starter-data-rest dependency in my project which really saves a lot of time and automatically creates Rest endpoints for the entities that have an associated CrudRepository repository defined in the project. But let's say one…
vdegenne
  • 12,272
  • 14
  • 80
  • 106
0
votes
0 answers

Custom spring-boot-starter with cloudfoundry user provided services credentials

I'm trying to use a custom-spring-boot-starter with a Configuration dependent on the presence of properties as a dependecy in my spring-boot-project. The starter's configuration is something like this: @Configuration @ConditionalOnProperty(…
Korgen
  • 5,191
  • 1
  • 29
  • 43
0
votes
1 answer

Gradle build exception for Spring boot application

I am trying to run a Spring boot application using gradle in eclipse. It is giving an exception for bootRun. I tried almost all the combinations related to this exception. I tried to exclude the conflicting tomcat jar in the spring boot application.…
0
votes
0 answers

Spring jackson exception with spring-boot-starter-parent

I have upgraded spring version from 1.4.3 release to 1.5.3 and started getting below issues on development environment. In my local it works fine. I cleared my local .m2 directory and it works fine with 1.5.3 but in my QA environment it is failing…
Kiran
  • 839
  • 3
  • 15
  • 45
0
votes
1 answer

Spring Boot 2: set loglevel in custom starter?

Is it possible to set the loglevel as part of the configuration of a custom starter? Lets say that I've, for example, created a custom starter that extends the default spring-boot-starter-data-jpa. Is it possible to set the loglevel for…
stphngrtz
  • 201
  • 3
  • 13
0
votes
1 answer

Persist LocalDate with Kotlin and SpringBoot

I'm trying Kotlin with SpringBoot and JPA. I try to persist a LocalDate but have an error. Below is the cody of my entity: @Entity @Table(name = "season") data class Season(val name: String, @Convert(converter =…
RomainZ
  • 41
  • 1
  • 1
  • 8
0
votes
2 answers

Spring Boot: Automatic property expansion using Maven and specific Maven profiles is not working

I'm trying to use the 72.1.1 Automatic property expansion using Maven as specified in the documentation using different maven profiles, but I'm not able to make it work with specific profiles. I have the following pom.xml:
Alessandro C
  • 3,310
  • 9
  • 46
  • 82
0
votes
2 answers

Coexistence of both thymeleaf and jasper files in Spring Boot application

I tried, in a project both jasper and thymeleaf, but can not coexist, as I would like to use jsp must comment out Spring-boot-starter-thymeleaf depend on the package, so that it can run. Looking for a solution so that both jasper and thymeleaf can…
0
votes
1 answer

Updating my spring version prevents gradle resolving spring-boot-starter

I have a spring-boot project. I'm getting the following issue when I try and start the application. java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context:…
Stewart
  • 3,023
  • 2
  • 24
  • 40
0
votes
1 answer

Spring boot cache not working in @PostConstruct

I'm building a "class cache", with classes I want to call later. The main goal is that I don't want scan the context every time that a class instance is needed. # Model / Repository classes @Getter @RequiredArgsConstructor public class Block…
0
votes
1 answer

Moving from @EnableRedisHttpSession to @EnableMongoHttpSession receiving exception

I have a Java 8 spring boot project that was using the Redis HttpSession store. However, I want to change it to use the Mongo HttpSession store instead. I changed my deependency from: org.springframework.session
0
votes
1 answer

Custom AbstractEndpoint listening to "/" (root)

I've implemented a starter that configures Swagger the way I like. In addition, I'd like to redirect every call to the app's root URL (e.g. localhost:8080) to /swagger-ui.html. Therefore, I added an own AbstractEndpoint which is instantiated in the…
user3105453
  • 1,881
  • 5
  • 32
  • 55
1 2 3
14
15