spring-boot tag

64 questions


2 answers
89 views
0
I want to give Logback MDC information to Spring Boot ErrorController logs

(Multipost with Stack Overflow)We would like to give you a unique value for Spring Boot log output on a per-request basis.For this purpose, we implemented the Logback MDC with reference to Example 7.5...

2 years ago

1 answers
92 views
0
About Springboot File Downloads

I'm studying downloading files.I'm looking at the English site, but I don't know what the answer is.·Return ResponseEntityreturn ResponseEntity.ok() .contentType(MediaType.parseMediaType(contentType)...

2 years ago

2 answers
125 views
0
About the class covered by @Bean in spring boot

After studying about @Bean, I wondered if @Bean's class generally covers classes with fields and gettersetters.If so, what are the benefits of declaring an object without using @Bean as shown in the c...

2 years ago

1 answers
97 views
0
How to library Spring Boot applications

I was creating a command line application on Spring Boot, but suddenly I had to use a library instead of an app.Development Environment: Eclipse, Windows 7Development Language: Javaframework:Spring Bo...


1 answers
103 views
0
The extended for statement causes ClassCastException.

ClassCastException occurs in the extended for statement.How do I fix the Id of each Student object to the console so that there are no errors?Thank you. ■ Test class@ Controller public class test { @R...

2 years ago

1 answers
88 views
0
Data conversion error converting error on H2

I would like to add data from + in the image, but Blank is not allowed in H2 on the spring.Data conversion error converting error appears.This error appears when the type is set to Integer.environment...

2 years ago

1 answers
95 views
0
Configured the association between objects using Springboot JPA.I want to be able to post comments on my blog.

@ManyToOne, @OneToMany I want to be able to add comments (comment class) functionality to blogs (blog class), but I get an error with the object comment field error in the field blog and no comments a...

2 years ago

1 answers
67 views
0
Springboot+tomcat page transition is not possible

I am currently creating a web app using SpringSecurity with SpringBoot (version 2.1.4.RELEASE).I was planning to display the login page first and transition to page 2 (top) upon successful authenticat...

2 years ago

2 answers
109 views
0
I would like to serialize json data to LocalTime using kotlin and Jackson, but I cannot implement it.

I'm a beginner at programming.As the title says, I serialized data such as LocalTime using kotlin and Jackson.I can't implement it properly.Please reply.Write Code JacksonPractice.kt@RestController@Re...


1 answers
99 views
0
@ How to use Qualifier

Using the Java Spring Framework, Creating web applications However, I want to register more than one Bean, but it doesn't work.·ObjectiveWant to handle more than one Bean ·Error messageConsumer markin...

2 years ago
« - 4 - »

© 2024 OneMinuteCode. All rights reserved.