spring-boot Questions
2
Solved
I am sending an array of JSON by converting it to toString() in Kafka Producer using Spring Boot app, but I am getting following error in Consumer:
org.springframework.kafka.listener.ListenerExe...
Headmaster asked 16/9, 2019 at 8:59
4
Solved
I am trying to write a REST api to allow users to download large files (ie > 2GB) on Spring boot. I am hitting with "Java Heap outOfMemoryException". I tried to triage the issue, i see...
Coelostat asked 22/12, 2021 at 19:19
2
Solved
I have two topics, one with 3 partitions and one with 48.
Initially i used the default assignor but i got some problems when a consumer(pod in kubernetes) crashed.
What happened was that when t...
Moonset asked 16/4, 2019 at 14:45
1
I'm looking to catch IOExceptions caused by a broken pipe before the async threads dispatch the result to Tomcat. Essentially the client disconnects and the error bubbles up to Tomcat before I can ...
Sandry asked 10/3, 2023 at 20:30
4
Solved
Docker: 27.1.2
Java: 17.0.11
Maven: 3.8.6
Jib: 3.2.1
OS: Ubuntu 22.04.4
I am using a Jhipster Spring application. Until now, my application has been built and running without any problems. But sudd...
Doggone asked 19/10 at 6:27
2
Solved
Since of nowhere I getting the error message that the class StaticLoggerBinder was not found.
I guess it have something to do with the Spring-Boot API. Any solutions to the problem?
pom.xml:
<d...
Microcrystalline asked 2/1 at 20:40
8
I want to show some metrics using micrometer prometheus in combination with the spring-boot-actuator. My project is totally based on spring-boot and has the actuator feature enabled and mapped on t...
Hudson asked 29/11, 2021 at 10:57
10
I created a spring cloud project using SPRING INITIALIZR. My project structure is as below:
enter image description here
The DemoApplication:
package com.example.demo;
import org.springframework...
Trevor asked 2/12, 2018 at 3:39
4
i work with a spring-boot project,
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.4.RE...
Witherspoon asked 17/11, 2020 at 7:26
1
I’m looking for a way to find the HTTP version of incoming request in spring webflux netty server
I cannot find any method in ServerWebExchange to get this information.
Spring servlet has some impl...
Bibby asked 11/3, 2021 at 4:11
2
Solved
We have Jaeger setup to trace calls primarily between the istio proxies. I'm trying to use tracing inside the application, include any traceId/spanIds in the logs and report back to the Jaeger coll...
Overglaze asked 16/3, 2023 at 16:6
4
After upgrading my code from Java 17 and Spring-boot 3.1.3 to Java 21 and String-boot 3.2.0, I've started to see errors like the ones below, when calling the REST APIs:
UPDATE: After running some m...
Dyslexia asked 10/12, 2023 at 18:34
2
Solved
Currently using Spring Boot 3.1 with the reactive WebClient configured like this:
@Configuration
public class MyConfig {
@Bean
WebClient webClient() {
ExchangeStrategies strategies = ExchangeSt...
Sushi asked 29/1 at 9:39
3
Solved
I am new to microservice architecture. Currently I am using spring boot for my microservices, in case one of the microservice is down how should fail over mechanism work ?
For Ex. if we have 3 mic...
Sudhir asked 28/5, 2018 at 8:52
4
Solved
WebSecurityConfigurerAdapter:
@Component
@EnableWebSecurity
public class SecurityConfiguration extends WebSecurityConfigurerAdapter
{
@Override
protected void configure(HttpSecurity httpSecurity)...
Elspeth asked 2/8, 2022 at 5:29
4
Solved
I'm a bit lost about this, because it usually works out of the box. I'm making a small java spring-boot rest api, and to get a nice API desc and test page, I use Swagger. Except this time it doesn'...
Tullius asked 30/3, 2021 at 8:40
4
I am writing a test case to test my Step in spring batch. Below is my configuration
@ExtendWith(SpringExtension.class)
@ContextConfiguration(classes = {BatchTemplateConfig.class,
CustomerItemWrite...
Clapp asked 2/3, 2023 at 11:53
3
When I run my Spring Boot application I get this error when using this below code:
Bean named mvcHandlerMappingIntrospector of type org.springframework.web.servlet.handler.HandlerMappingIntrospect...
Aliber asked 11/1, 2023 at 10:34
1
Solved
Spring Boot (3.3.4) application fails to start with error java.lang.ClassNotFoundException: ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP
ERROR in ch.qos.logback.core.model.processor.ImplicitMo...
Weed asked 24/9 at 11:26
1
So I have a simple SecurityFilterChain configuration and a simple AuthenticationEntrypoint implementation.
The AutheticationEntrypoint implementation just writes a JSON response and the send a 403 ...
Weighbridge asked 10/3, 2023 at 18:2
3
Now, my understanding, in general, is that @RequestMapping methods need to be public. Can they also be private? If so when would we use this?
The reason why I am asking this is that I noticed that...
Ambur asked 28/5, 2018 at 9:49
1
I have an endpoint (/logout) that invalidate the session manually by calling HttpSession#invalidate(). Sometimes i got the following exception (Within 1000 request it happens about a dozen times):
...
Sheeb asked 11/3 at 11:48
2
Solved
I am working on a Spring boot application that uses Spring JPA with PostgreSQL. I am using @SpringBootTest(classes = <my package>.Application.class) to initialize my unit test for a controlle...
Papyrology asked 28/1, 2017 at 23:8
4
Solved
I'm playing around with Spring Boot 2.0.0M2, trying to create a CLI application, not a web one. My problem is that even including
compile 'org.springframework.boot:spring-boot-starter'
compile ...
Cheeky asked 28/6, 2017 at 16:14
4
I have to check whether my service / app works or not.
I've added dependency
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuato...
Hoax asked 10/1, 2022 at 13:7
1 Next >
© 2022 - 2024 — McMap. All rights reserved.