Questions Tagged [Spring]
Ask Question the Spring Framework Is an Open Source Framework for Application Development on the Java Platform. at Its Core Is Rich Support for Component-Based...
The Spring Framework is an open source framework for application development on the Java platform. At its core is rich support for component-based architectures, and it currently has over twenty highly integrated modules.
197,990
questions
0
votes
0
answers
3
views
Spring packaging best practice
In our course some body tolled me that best practice for packaging in layers like service is to separate your interfaces and implementations with sub package like named impl but I'm not sure if it's a ...
0
votes
0
answers
9
views
Spring threshold file size
In version 2.1.3, Failed to bind properties under 'spring.servlet.multipart.file-size-threshold' to org.springframework.util.unit.DataSize
Property:
spring.servlet.multipart.file-size-threshold=2KB
...
0
votes
3
answers
31
views
NgFor doesn't display data
Hi i have the project with spring boot, sql, angular. I have relations with one to many and I dont know how to display the second object in component html.
My Componnent:
@Component({
selector: 'app-...
0
votes
0
answers
10
views
Insert Data into multiple tables Hibernate
I want to insert data in two tables User (user has a type user) and Secretaire, i try to Secretaire insert successfully but User Entity columns goes null, what do you think, what i should change.
Here ...
0
votes
0
answers
7
views
Verifying webhook authenticity using Spring Boot
I am migrating some code to Java Spring Boot and using Zendesk Webhooks. The webhooks requests have two headers
X-Zendesk-Webhook-Signature - the main signature
X-Zendesk-Webhook-Signature-Timestamp - ...
0
votes
0
answers
9
views
Spring one-to-many Object in Thymeleaf Tab
I am using Spring and Thymeleaf templates. What I am trying is, to show a customer's addresses within a Thymeleaf template (using Bootstrap tabs) in a many-to-one relation.
I can't get the addresses ...
0
votes
1
answer
14
views
Java Spring JPA Reference and return only one result from join table
I believe the code below is working correctly but my logic is flawed and so I'm looking for help getting the results I actually want. In addition I think my attempt on the JPA method is overly ...
0
votes
0
answers
9
views
spring boot suite installation error. I can't install spring boot suite on my windows
I am new in spring boot. When I install the spring boot suite on my windows, there is an error occurs.enter image description here
0
votes
0
answers
7
views
Spring causing WebDriver to 'quit()' after each test
I'm trying to get a Spring Boot Selenium app to work. I can get one test to run successfully, but when I run more than one test, the second test complains with:
Session ID is null. Using WebDriver ...
0
votes
1
answer
35
views
Using RestTemplate and Entity Manager to map objects for PostgreSQL Database
I am creating a Spring Boot application in which I have to consume this API, add it's JSON contents to a PostgreSQL DB and adding also a timestamp column to capture and save the exact point of data ...
0
votes
2
answers
25
views
Lombok subclass constructor @Autowired
I have superclass:
@AllArgsConstructor
public abstract class AbstractSuperService {
protected final SuperRepository superRepository;
}
And two subclass:
@Service
public class OneSubService ...
1
vote
2
answers
27
views
RestController Returning 404 (Spring Boot 2.3.7)
I have written a Spring Boot application with RestContoller. But when I hit the URL in a browser, I get a 404 error. But i am not sure what I am doing wrong. Everything seems to be all correct. My ...
1
vote
0
answers
27
views
Why are beans in Spring creating for procedural methods?
Most often, when I see a web application using mvc and the spring framework, it contains layers such as services and repositories, which for the most part look like utility methods in a class and this ...
0
votes
0
answers
8
views
Spring Quartz DataSource value
I have a spring boot project which uses Quartz for scheduling and MySQL for the job store. I have tried to setup the application.properties for this but no success. I have a database named db with the ...
-1
votes
0
answers
21
views
Missing 'Content-Type' in HTTP Response Header of a JSP page running on Weblogic
I am working on a SPRING JSP project and I have a problem with UTF-8 characters on servers without an Apache layer. All special characters look like "Ç" or "ç". It works ...