Questions tagged [spring-starter]
22 questions
5
votes
3 answers
No qualifying bean of type 'java.lang.String' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations:
I am using spring starter-email service to send emails to the users when there will be new job posting: I am following this article from geeks for geeks, I feel issue is something with @Value annotation, but unable to get it
but while running…

LowCool
- 1,187
- 5
- 25
- 51
4
votes
1 answer
camunda spring boot starter with gradle gives processEngineConfigurationImpl bean missing
My issue is quite similar to this one and it's kinda straightforward: copy paste service from maven to gradle project makes starters non operational.
Here is the project I've used as an example and it starts like a charm:
Spring-Boot: …

im_infamous
- 972
- 1
- 17
- 29
3
votes
1 answer
Are Spring Boot starter dependencies production-ready?
I'm learning spring boot to develop an eCommerce website by myself. I consider that starter dependencies like spring-boot-starter-web, spring-boot-starter-security can be used for a production environment or just for learning purposes?

dungreact
- 442
- 1
- 9
- 22
1
vote
2 answers
Does Spring 3.0.x support Java 8? In Spring Starter I found sourceCompatibility = '17' default for 3.0.x and above
I was trying to create a Spring Boot 3.0.5 application, along with Java 8 in Spring Starter. Screenshot shared below
Post which I checked the Explore button which helps in identifying what code will look like.
However, I found
sourceCompatibility =…

ShankPossible
- 427
- 4
- 14
1
vote
0 answers
com.google.api.gax.rpc.DeadlineExceededException: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED while using spring-cloud-gcp-starter-secretmanager
Receiving this error while using secrets from GCP secret manager. It works fine when the service is deployed in cloud. But running on local machine throws DEADLINE_EXCEEDED.
Dependencies I am using
spring boot version =…

Gunni Saggu
- 39
- 3
1
vote
0 answers
SpringBoot kafka request/reply with dynmaic topic name for @KafkaListener
i am writing a microservices application based on kafka request/reply semantic, so i got configured ReplyingKafkaTemplate as message producer and @KafkaListener with @SendTo annotations method as the service request listener. I need to create a…

SP QRT
- 95
- 5
1
vote
1 answer
Mandatory to add spring-boot-starter-* dependencies in child module only?
I have one parent module (A) which is already included / imported into the child module (B) as dependency.
Module A.
org.springframework.boot
…

ScanQR
- 3,740
- 1
- 13
- 30
1
vote
2 answers
How to resolve this Project build error: Non-parseable POM error?
enter image description here
Project build error: Non-parseable POM .m2\repository\org\springframework\boot\spring-boot-dependencies\1.5.17.RELEASE\spring-boot-dependencies-1.5.17.RELEASE.pom: in epilog non whitespace content is not allowed but got…

sriramkailash
- 65
- 3
- 7
0
votes
1 answer
Spring Boot - custom starter and jpa repository autowired
I'm creating a custom starter for spring boot.
I've this class for configuration of autostarter
@Configuration
@AutoConfigureAfter(SpringDataWebAutoConfiguration.class)
@ComponentScan(basePackages = {"com.closure.table"})
public class…

ciro
- 771
- 1
- 8
- 30
0
votes
1 answer
Track specific usages of Spring libraries in my app
Recently, the application we are supporting had just undergone Software Composition Analysis (SCA) scanning and there were some Spring libraries what were found to have vulnerabilities.
The problem is, there were vulnerabilities found in certain…

lecarpetron dookmarion
- 519
- 2
- 7
- 18
0
votes
1 answer
bootRun error in Gradle showing incomplete stack trace
I have a spring mvc app that is run via Gradle (version 3). Our company policy recommended we used a higher version of the library ch.qos.logback:logback-core. When I upgraded it and run gradle to start the app, I get this error below. Problem with…

lecarpetron dookmarion
- 519
- 2
- 7
- 18
0
votes
0 answers
Test classes annotated with import org.junit.jupiter.api.Test; are not getting recognized
Made these changes as part of java 17 and spring boot 3.0.6 upgrade.
Used these imports:
import org.springframework.test.context.junit.jupiter.SpringExtension;
import org.junit.jupiter.api.extension.ExtendWith;
import…

aami
- 1
- 1
0
votes
2 answers
Spring boot application with Spring-boot-starter-data-jpa and spring-boot-starter-test makes spring does not find application properties
I have created a small application with spring boot that access to a database (mySql) using spring data:
spring-boot-starter-parent: 2.4.2
spring-boot-starter-web: 2.4.2
spring-boot-starter-data-jpa: 2.4.2
mysql-connector-java:…

Carlos Ruiz
- 21
- 1
0
votes
0 answers
spring boot 1.5.17 RELEASE un resolving dependencies
Currently am working on a spring boot application having the version 1.5.17 RELEASE.
when am building the project ,some of the dependencies are missing.I have tried
maven install,
clean and build
restarting the STS
This is the error log.
POM.xml…

arj
- 887
- 1
- 15
- 37
0
votes
1 answer
My controller code is not reachable from the MockMvc get request and i am always getting 404
I am trying to mock my controller and write testcases for it. But when I tried to debug the Test class the control is not getting into my Controller class. I am not sure what I am doing wrong here.
Please help me to resolve this as I am stuck on…

harish
- 13
- 4