CARVIEW |
Select Language
HTTP/2 200
date: Wed, 30 Jul 2025 00:15:49 GMT
content-type: text/html; charset=utf-8
content-encoding: gzip
cf-ray: 9670a9ec8d51cf00-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=4a82cd55-0f9f-4a07-9790-8dff0c4c7faf; expires=Thu, 30 Jul 2026 00:15:49 GMT; domain=.stackoverflow.com; path=/; secure; httponly
set-cookie: __cflb=02DiuFA7zZL3enAQJD3AX8ZzvyzLcaG7vKt3eo3hkKBMN; SameSite=Lax; path=/; expires=Wed, 30-Jul-25 23:15:49 GMT; HttpOnly
set-cookie: prov=4a82cd55-0f9f-4a07-9790-8dff0c4c7faf; Path=/; HttpOnly; Domain=stackoverflow.com
set-cookie: __cf_bm=fMubr4N7hfaJXDFCmUsF0vaA1oEOVmAG3Eh.NNOzIIM-1753834549-1.0.1.1-PsOlDDX9txVJcvi6M86TbwIGbk8Zmcq7fzBTmqykpm4KNm9PlXtDMRJkjy8iG96q.3d8Su7OMtZyR7C7meEboefhIT5OqeCa6davKNMYoYk; path=/; expires=Wed, 30-Jul-25 00:45:49 GMT; domain=.stackoverflow.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=f5.gvL63ldtJE1jSGM2B8YmyfMFjNEUkdkLRZ2gejs0-1753834549643-0.0.1.1-604800000; path=/; domain=.stackoverflow.com; HttpOnly; Secure; SameSite=None
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: 6c0c66ac-3424-464d-81cd-d4f888e8d4d7
x-worker-origin-response-time: 416000000
x-dns-prefetch-control: off
server: cloudflare
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
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more.
View results.
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,125 questions
- Bountied 5
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
16
views
Spring Boot Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.3.0:run
I was following Consuming a RESTful Web Service
and ran this command in the Intellij terminal
./mvnw spring-boot:run
I had an error so I decided to clone the complete project
git clone https://github....
0
votes
0
answers
13
views
Fix IllegalArgumentException for params in JPA
In JPA, I am trying to search the table with two optional fields say one and two which can be null at times. I have the controller and the repo like below.
class Some{
private SomeRepo someRepo;
...
-1
votes
1
answer
45
views
java.lang.NoClassDefFoundError only at command line [closed]
I am using Windows 11, IntelliJ IDEA and OpenJDK-24.0.1.
Among others, I am importing ArrayUtils:
import org.apache.commons.lang3.ArrayUtils;
In my Maven pom.xml I added:
<dependency>
<...
1
vote
1
answer
24
views
Using Saxon-EE, is it possible to stream the input source for a transformation
We are streaming the content of a (rather large) XML file. Before we process the content downstream, we want to transform it using Saxon.
Using the following Akka flow:
public Flow<ByteString, ...
0
votes
0
answers
45
views
Jakarta Mail : AuthenticationFailedException with imap.gmail.com
I'm trying to connect to gmail's imap server, following this FAQ's answer.
I'm using jakarta.mail:jakarta.mail-api:2.1.3 and org.eclipse.angus:angus-mail:2.0.3.
Here is my code :
void connect() throws ...
0
votes
0
answers
18
views
In Apache Ignite the Replication mode and Partition mode does not work all together
I’m working with Apache Ignite 2.17.0. I load database tables into Ignite caches and run SQL queries using the SQLFieldsQuery API.
Recently, I modified the cache configuration for some tables to use ...
2
votes
0
answers
18
views
Debezium + Flink Oracle CDC - "db history topic or its content is fully or partially missing" for some tables
I am using Flink with Debezium to consume CDC changes from Oracle DB tables via LogMiner.
For some tables, everything works fine. For example, the following table works without issues:
CREATE TABLE ...
0
votes
0
answers
17
views
JobRunr doesn't execute recurring jobs after upgrade to 8.0.1
I upgraded to JobRunr 8.0.1 (from 6.3.5), using it in a plain Java application with a MongoDB storage provider.
Start up looks fine:
INFO VirtualThreadJobRunrExecutor - ThreadManager of type '...
1
vote
0
answers
24
views
Kafka publishing to non-existing topic loop
We have a Spring Boot service that is publishing to a Kafka topic. Whenever the topic is non-existing (say misspelled), the service logs throw the below warning in a loop:
o.a.k.c.NetworkClient: [...
-1
votes
0
answers
38
views
Looking for a better design pattern for waiting for resources [closed]
The Case:
Multiple independent Threads
Threads create Resources
Another Thread needs access to the resources
Question:
Do you know a better way (design pattern or classes) to wait for the resources ...
-1
votes
0
answers
47
views
Stack Trace within EDT [closed]
Running Java Swing App using Java V24 on Windows 11.
This is a Swing app, I am populating a JTable with a renderer and TableRowSorter. Randomly I get "index out of range" in table row sorter ...
0
votes
0
answers
17
views
Jax XML Bind throws a java.lang.reflect.InaccessibleObjectException error in a Spring webapp
I'm facing a compilation issue with a Java 17 web app with Spring MVC.
When the application starts, it parse an XML and it throws this error:
Caused by: java.lang.reflect.InaccessibleObjectException: ...
0
votes
0
answers
10
views
How to get Keycloak to always store the Broker Context
Keycloak doesn't seem to store broker context in the in the session notes in post login flow.
I am using a custom keycloak SPI to help with user attribute sanitation, in the context of a saml single ...
0
votes
0
answers
11
views
Applying transparency to entities in 1.20.1 (MC Forge)
I've been fighting to find ways to get transparency to work in my custom entities whilst updating my code from 1.16.5 to 1.20.1. I can not for the life of me figure this out. I've tried mimicking the ...
-1
votes
1
answer
38
views
How to pass type parameter explicity to Collector.of method [duplicate]
I was trying to solve Java stream practise problem where I have to find out largest 5 Integers from given finite stream of Integer. I came up with below solution.
new Random().ints(200, 1, 200000)...
- The Overflow Blog
-
-
- Featured on Meta
-
-
-
-
-
-
Hot Network Questions
- Would saying I want to go into industry on a statement of purpose negatively affect PhD admissions?
- Rate of Difference of Gaussian Error
- Can sunflowers disturb and mess with other surrounding plants?
- Can Trump sue South Park?
- When using Da Capo, does that normally include a pick up?
- Khovanskii's theorem in nilpotent groups?
- Uniqueness of a Universal Property
- Seven-dimensional cross product
- Can I bring mycelium pellets into Greenland?
- Does the game acknowledge the Gestrals as paintbrushes?
- What are ways to prevent overly long ballots?
- Do magic items that require attunement regain expended charges even when you're not attuned to them?
- How are program IDs generated?
- I struggle to draft without editing
- Is there a "correct" orientation for roasting a chicken?
- What are the canonical commutation relations mathematically?
- How to get the index of a point with specific attribute values (using geometry nodes)
- How to identify process' serving 127.0.0.53:53 and 127.0.0.54:53?
- The root neighborhood representation
- Electrician ran neutral and ground to the same bar, and is telling me it's common practice. Pictures show my main and sub. Is he right?
- Writing a visually-selected couple of files out to a file with an open buffer
- Book recommendations for theistic books about God's existence
- Self-written .desktop file worked before restart, is ignored now
- I have a table that is being forced over the right margin how do I force the table to evenly break both margins?