spring-boot tag

64 questions


1 answers
329 views
0
I want SpringBoot to be able to send type="date" empty

I'm creating an app with SpringBoot, and I want to be able to send it empty without entering a date.However, if you send it empty, the type conversion from String type to Date type will be obvious, bu...


1 answers
318 views
0
I want SpringBoot to be able to send type="date" empty

I'm creating an app with SpringBoot, and I want to be able to send it empty without entering a date.However, if you send it empty, the type conversion from String type to Date type will be obvious, bu...


1 answers
403 views
0
Console Lost Color After Refreshing GradleProject in Spring Tool Suite

I am learning Spring using the Spring Tool Suite (STS).On the way, I noticed that there was a shortage of libraries, so I did the following:Add one line of implementation to build.gradeFrom Package Ex...


2 answers
271 views
0
Getter is not created in lombok@Data?

I am studying java at SpringToolSuite4.I am trying to automatically add Getter, Setter, etc. using [email protected], the controller does not digest Getter, so Even if I access it directly from the ...

1 years ago

1 answers
241 views
0
Want to separate data sources by user within multi-tenant services

I plan to develop a multi-tenant service.It is assumed that each user (service user) will have a direct reference to the database of this service from an external system.We want to separate data sourc...

1 years ago

1 answers
346 views
0
Spring boot partial match search I don't know what's wrong

The previous question worked well, so I tried to change the table and run it, but it didn't work.What is the cause?package com.example.demo.mysql;import javax.persistence.Column;import javax.persisten...

1 years ago

1 answers
436 views
0
I would like to improve the error such as No value present that appears when I update with Spring.

When I change the value to what I want to update on the edit screen and press the execution button, an error such as No value present appears, so I would like to make this improvement.I am thinking of...


1 answers
374 views
0
I would like to know if it is possible to mock only the double autowired class.

Questions about SpringBoot dependency injection and unit testing.Based on the class being tested, is it possible to test only the classes that are double autowired by Mock?Specifically, I would like t...

1 years ago

1 answers
292 views
0
Unable to test controller with jUnit/Springboot multiple submit buttons

I am currently creating the springboot application and as the title suggests, I have placed several submit buttons on the form.I'd like to do a single test on the controller method, but the request do...


1 answers
327 views
0
Unable to set validation error message using SpringBoot@DateTimeFormat

I would like to validate the Date type in ExampleForm.java using @DateTimeFormat in the Spring Boot application, but when I use typeMismatch in messages.properties, the message definition is not set i...

1 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.