Questions tagged [spring-boot-starter]

For questions relating to the Spring Boot Starter POMs.

221 questions
0
votes
1 answer

Should stable project still use spring-boot-starter-*?

There are many Maven artifacts named spring-boot-starter-*. As the names imply, they are very useful for an application project to get started with Spring Boot. However, after the application project become stable, should it keep using these…
johnlinp
  • 853
  • 6
  • 22
0
votes
1 answer

Error with Azure Blob Storage Starter API for Spring boot in Java

I have a issue trying to delete a "folder" (blob) from Azure Blob Storage. I have a container and inside that container multiple "folders" (blobs) than contain a big amount of "files" blobs inside. So, for example, if I have a file called test.pdf…
0
votes
1 answer

accessing properties loaded from backend java object from @value

I am writing custom spring boot starter project where we have our own class VaultFactory which connects to the vault based on the consumer's properties defined in application.yml file. In the custom starter project i can read all the secrets and…
sagar kancherla
  • 129
  • 1
  • 3
  • 12
0
votes
1 answer

Is there a way to generate application properties when creating a Spring Boot project?

I'm planning to run our own Spring Initializr instance. Is there a way to have a set of application properties get written (to application.yml) when a certain option is chosen, ideally in a separate section for each of a set of predefined profiles?…
0
votes
0 answers

spring-boot Starters(2.0.8) still refer to log4j2 ver 2.10.0 libraries in Maven Central/Spring repo when mvnrepository advertises ver 2.13.0

[https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-log4j2/2.0.8.RELEASE] reflects that log4j2 libs are updated to 2.13.0 but repositories still contain 2.10.0…
0
votes
0 answers

how can I input log4j2's logs into ByteBuffer in java?

I'm trying to upload local logs generated by log4j2 to AWS S3 bucket without storing logs in my local. I want to make log4j2's logs transfer to S3 bucket directly. The method what I think is putting console logs to ByteBuffer, and upload to S3…
JKwiu
  • 47
  • 1
  • 10
0
votes
1 answer

Why in my case Spring Boot Actuator does not show /info, /actuator endpoints?

Every time I get 404 error while asking for localhost:60001/info, localhost:60001/actuator or others. {"timestamp":1570711643410,"status":404,"error":"Not Found","message":"No message available","path":"/loginfo"} It works only for…
Seydazimov Nurbol
  • 1,404
  • 3
  • 10
  • 25
0
votes
0 answers

Extracting spring boot starters to separate JAR

What I'm trying to do is to extract all of spring-boot-starters to a separate app, pack all of it into a single JAR (using gradle shadow plugin) and then deploy it to local nexus artifacts repository, so I can import it and all of its dependencies…
PMaciek
  • 11
  • 1
0
votes
1 answer

Is bad practice to have spring boot starter project for starter project?

Spring boot starter project provides extensive set of functionalities auto configured. But for our application we want to have only a subset of functionality. May be only one feature out of the spring boot starter project. So is it advised to have…
Suren Raju
  • 3,012
  • 6
  • 26
  • 48
0
votes
2 answers

How to fix 'ClassCastException: cannot assign instance of' - Works local but not in standalone on cluster

I have a Spring web application(built in maven) with which I connect to my spark cluster(4 workers and 1 master) and to my cassandra cluster(4 nodes). The application starts, the workers communicate with the master and the cassandra cluster is also…
0
votes
1 answer

How can I create a bean of a class that needs other classes in the constructor?

I am trying to create my own spring-boot-starter. I have a class A that takes as arguments in the constructor classes B, C and an interface D, and I want to create in the autoconfiguration class a method annotated with @Bean that returns an instance…
0
votes
1 answer

How to refer to a project from innersource?

I have a java-maven project working on my STS. The thing is that I want to create my own spring-boot starter and include it as a maven dependency in the pom.xml file of my project. The thing is that this starter will be located in an innersource…
0
votes
0 answers

spring boot compatibility issue with starter-web

I have just started working on a spring boot project and I am using stater web as one of its dependency, I used spring.io to create my project from scratch and from there itself I got plugins { id 'org.springframework.boot' version…
0
votes
1 answer

Can't use specific base path for spring actuator

I've created a spring boot application and it has ServletRegistrationBean: @Bean public ServletRegistrationBean restApi() { final DispatcherServlet dispatcherServlet = new DispatcherServlet(webApplicationContext); final…
0
votes
2 answers

React BootStrap version issue using css in project

We have made react project a year ago using bootstrap 4.1.3 and for enhancement now fetching same code from server and adding new feature but the css shows issues .The code is server css looks different than the local .to give a brief more css is…