bst365体育投注网址大全

Questions tagged [spring]

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.

Filter by
Sorted by
Tagged with
-1
votes
0answers
5 views

Using H2 Data Base with Spring Shell Application

Im trying to create a Spring Shell Application with H2 Database. I noticed that the same application if I add the Web starter dependency is working fine but unable to use h2 when i remove the web ...
0
votes
0answers
5 views

Caching with Pagination on Spring Boot

I have an endpoint which fetches data from the database returns huge number of records. All of this records needs to be visible on the UI but as we scroll the view. These records are used in 2 ways, ...
0
votes
0answers
3 views

Embedded Kafka Test results fails, curly brackets added to Value

I am using Embedded Kafka Broker at Junits, for testing my values pushed to topic. I get following error logs. [ERROR] KafkaConsumerTest>KafkaConsumerTests.shouldNotRetry4XXResponse:256 ...
0
votes
0answers
7 views

Java/Spring: What is the best way to sanitize a org.springframework.dao.DataIntegrityViolationException for HTTP

My Java/Spring server is returning a 500 with org.springframework.dao.DataIntegrityViolationException. It is exposing the DB schema to the user. What is the best idiom/pattern to transform this DB ...
-2
votes
1answer
18 views

frameworks java ( framework javaEE,framework javaSE)

Hello i have a question please. what is the framework in java? and do JAVASE and JAVAEE have different frameworks? if yes can you list it for me. thanks .
0
votes
1answer
40 views

Java problem with Java.util.Date and Java.util.TimeZone

I'm having a bit of trouble with JAva, but I'm following the instructions I find in this site (StackOverflow) to manage Dates in Java. Basically, I'm parsing a string into a Date, simple stuff, ...
0
votes
1answer
9 views

Object in STOMP react.js - Spring Boot

I'm trying to send some data from React.js to Spring Boot using STOMP. I have this setup in server side : @MessageMapping("/send") @SendTo("/topic/public") public String ...
0
votes
0answers
15 views

Tomcat server showing not able to start

As I was making a small spring mvc project , used tomcat server but as I ran the application the tomcat server failed. Jul 10, 2020 8:32:48 PM org.apache.catalina.core.AprLifecycleListener init ...
0
votes
1answer
12 views

Spring mvc HTTP Status 400 form submission

I'm trying to add a an item to a list of task and submitting the form gets me the error 400 - The request sent by the client was syntactically incorrect. Controller method @RequestMapping(value = &...
1
vote
0answers
11 views

DomainClassConverter not working in Spring Boot

I have a very simple Spring Boot MVC project in which I try to use the DomainClassConverter to load the Entity directly. But it seems that the DomainClassConverter is not found. I have the following ...
0
votes
1answer
12 views

SimpleRetryPolicy Spring

I am browsing in the docs and can see that there is functions that would be really useful, however going further I realized that they not existing anymore or I am wrong? I would like to perform a ...
0
votes
1answer
13 views

Spring Security OAuth Client for WebClient With Password Grant Type Doesn't Ask For New Token

I have a Spring Web application that has a oauth2 resource server configured for it's API endpoints and a completely different oauth2 client for REST calls it makes. The oauth2 client needs to be of a ...
0
votes
1answer
12 views

Spring Boot Starter : Retry Transaction Question

I'm using the mybatis-spring-boot-starter (2.0.1) and I'm having an issue where sometimes I get a deadlock writing to mysql: com.mysql.cj.jdbc.exceptions.MySQLTransactionRollbackException: Deadlock ...
0
votes
1answer
21 views

Name alias in mapping query parameters to object in Spring

I have a class class Request { private String ftr; // more properties } And a method in controller class @GetMapping public String list(@Valid Request request) { //... } When I send ...
0
votes
1answer
15 views

How to change folder structure using MVC design pattern in a java console application

I developed an application which gets the data from the user from the console and pass the data to the frontend and Spring rest api is used for that purpose. So now I want to rearrange the folder ...

15 30 50 per page
1
2 3 4 5
11515