CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 05:11:39 GMT
content-type: text/html; charset=utf-8
cf-ray: 9640eb029bc03e92-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=b06dd2e6-c3ae-445e-adf0-a4f37a534858; expires=Fri, 24 Jul 2026 05:11:38 GMT; domain=.stackoverflow.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
feature-policy: microphone 'none'; speaker 'none'
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 6b6ea297-51b9-423c-a917-1cb5b2ba03ab
x-worker-origin-response-time: 767000000
x-dns-prefetch-control: off
set-cookie: __cflb=02DiuFA7zZL3enAQJD3AX8ZzvyzLcaG7wQRdHNUcYyK8Q; SameSite=Lax; path=/; expires=Fri, 25-Jul-25 04:11:39 GMT; HttpOnly
set-cookie: prov=b06dd2e6-c3ae-445e-adf0-a4f37a534858; Path=/; HttpOnly; Domain=stackoverflow.com
set-cookie: __cf_bm=eWDhm3FfOvNZAAEM0HyvIhSjsZwRYAvWmnZLg23wSRs-1753333899-1.0.1.1-WwMHM7ydtYUuEt7TNDxMkoipku_ypKqHuGvyRAj_cEzPmIwXdjzlXgsXRDQohDekCVFMkdiFOBUP_LxbJ9s6ACJrOmLOXlkgDtgBsY7vh9w; path=/; expires=Thu, 24-Jul-25 05:41:39 GMT; domain=.stackoverflow.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=uXxYoydVYX2PsxA8uar.UTWrWDDMy0qgp4yuNTKyqAs-1753333899454-0.0.1.1-604800000; path=/; domain=.stackoverflow.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'java' Questions - Stack Overflow
Skip to main content
Stack Overflow
- Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers
- Advertising Reach devs & technologists worldwide about your product, service or employer brand
- Knowledge Solutions Data licensing offering for businesses to build and improve AI tools and models
- Labs The future of collective knowledge sharing
- About the company Visit the blog
Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
1,919,208 questions
- Bountied 3
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
28
views
Composite generic validator in java
After a long time working on TS, I'm back to Java (sadly)
I'm trying to create a composite validator for a set of APIs. The generic interface is:
public interface APIValidator<Input, Context> {
...
0
votes
0
answers
18
views
RestClient POST response is encoded/garbled (Spring Boot 3.5)
I am trying to submit a POST request to an API to get a JSON payload in Response. My application is a Spring Boot 3.5 application. I am using RestClient to make the request. The request is accepted ...
0
votes
0
answers
11
views
Strip payment intent attached on stripe
Is there a way to create a form just fetch customer info card like last4 digit, brand_name, address without create anything . I first can fetch by checkout session form, but it need to create ...
1
vote
0
answers
41
views
Can Connect to Database in IntelliJ Client but not in Java Source Cod
I have no idea what the problem is.
I have a dummy user as below:
user test
pass password
host localhost
port 3306
… and I want to connect to the existing schema test.
The IntelliJ database ...
0
votes
1
answer
26
views
Read user input in app generated by jpackage
I am using jpackage to convert a Java application into an executable .app file.
When running on macOS, as shown below, the application cannot read user input.
open -n /Applications/MyApp.app
The ...
0
votes
1
answer
16
views
Snowflake Stored Procedure Returns No Results via JDBC but Works in Web UI
I'm attempting to invoke a Snowflake stored procedure from my Java application, but I consistently receive the following error:
"Stored procedure execution error on line 1 position 20: Missing ...
1
vote
1
answer
46
views
How to write polymorphic function extending abstract class which implements an interface generic function?
I'm trying to implement Observable pattern with an abstract class (so that my subclasses don't provide a common implementation). I want polymorphic functions for different Observer types.
I have an ...
1
vote
1
answer
50
views
Data corruption with high throughput
I wrote a small client-server system with Netty. The client(s) send messages to a server, and the server responds with an ACK once the message is processed. This ACK contains an ever incrementing ...
0
votes
0
answers
43
views
How to disable specific Spring components only during Maven test runs without using @ActiveProfiles in every test?
I am working on a Spring Boot (3.5.3) application with Maven (3.9.10) where I have some components (e.g. initializers) that break certain tests. I want to disable these components only when running ...
0
votes
0
answers
22
views
Query parameters was not validation-checked using an API automatically generated by OpenApi
I used OpenApiGenerate to automatically generate the following API.
default ResponseEntity<List<Patient>> getPatients(
@Max(9999999999L)
@Parameter(name = "...
-5
votes
0
answers
37
views
JVM optimization techniques to scale large cross-product apps with Timefold algorithm [closed]
Let's say that I have a timetable generation app (with Java 21 and Timefold 1.9.0) that involves over 5000 entities consisting of lessons, student groups, rooms, timeslots, constraints (10-20 to be ...
-5
votes
0
answers
67
views
JUnit6 test how to? [closed]
How do I write JUnit 6 unit tests in Java? Is it yet too early to ask?
I cannot find any documentation but the maven repository has a first (and even a second) milestone
How would a basic test look ...
-2
votes
0
answers
36
views
Class not found exception while running a java dockelet for doc generation [closed]
I created a docket class in mypack/lib/xstemplate/docgen and compiled the class I can see the class file in same directory but giving an error while running the docket. I am using Mac OS
javadoc -...
0
votes
0
answers
24
views
Compacted files are written to the lowest datetime bucket among source part files instead of original part file system time
I’m working with Apache Flink 1.16 on an ETL job that reads data from Kafka and writes the output to HDFS in Parquet format. I’m using a FileSink with BulkFormat (ParquetAvroWriters), a ...
0
votes
0
answers
28
views
Selenium DevTools Page.printToPDF throws TimeoutException after a few seconds
I'm trying to download a PDF of a page using Selenium 4 with Chrome DevTools Protocol.
After calling driver.get(url), I wait for rendering to complete using:
Thread.sleep(60000); // wait for 1 minute ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
-
Related Tags
android × 281926
spring × 130959
swing × 79917
spring-boot × 79325
eclipse × 59564
hibernate × 59500
arrays × 52438
maven × 49108
multithreading × 39605
json × 39345
xml × 36550
string × 32755
spring-mvc × 32289
jpa × 31946
mysql × 30668
jsp × 27185
arraylist × 26468
javafx × 25198
tomcat × 23734
regex × 23567
android-studio × 23187
servlets × 23112
jdbc × 22730
selenium × 21802
javascript × 21256
more related tags
Hot Network Questions
- Can authors be blacklisted by academic publishers for multiple rejections without any ethical misconduct?
- Does אֵלִ֣י in psalm 22:1 say god or "my god"
- Will I lose my seat reservation on Deutsche Bahn EC if I skip the first leg?
- What is that "T" in the pattern string of the date-command?
- Is it rude to make someone an academic reference without getting their permission first?
- Heavy shelves, but not a center stud
- Make a Mulenère encryption program
- A soviet sci-fi novel (novelette?) with frogs?
- How to handle missing weather data (predictors) in production time series forecast with Prophet?
- What fiction genres do literary agents recognize?
- A word that describes some people
- Is there a formal threshold for when a variable is considered 'random' in statistics? What is it?
- Dystopian 80s sci-fi movie about the USA choosing mediocrity
- Why is `&self` allowed in the parameters of `&mut self` methods, but not `&mut self`?
- Did Webster's Dictionary define Fascism by its relationship to corporations until 1987?
- What is the consistency strength of Russell & Whitehead's ‘Principia Mathematica’?
- Can one engage with physics (or science) without touching philosophy?
- How much time should I take for "self transfer" without checked-in baggage?
- In this video why are the astronauts wearing only their flight suits during dragon training while in others they are in their full starman suits?
- Can you identify this shell case from Flanders?
- TeX development in C instead of Pascal
- Render / Convert .midi / .mid to FLAC on Linux
- multlined: not aligned with the norm
- tac-command is it a bug or a misinterpretation of the manual?