Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [java]

Java is a high-level object-oriented programming language. Use this tag when you're having problems using or understanding the language itself. This tag is frequently used alongside other tags for libraries and/or frameworks used by Java developers.

0 votes
0 answers
3 views

Flink GlobalWindow Trigger only process the trigger event

I have datastream keyby by an event property, that is then passed to a globalwindow, trigged when a specific event comes in, the issue is that when the window is trigged to process the events, it only ...
car_dev's user avatar
0 votes
0 answers
12 views

Spring RestTemplate - How to remove `client_secret` from the logs?

My backend application currently leaks client_secret inside my log file. I would like to keep the log level of DEBUG except for the RestTemplate where I don't want this line to be executed. The log ...
Aleksa Majkic's user avatar
-1 votes
0 answers
11 views

Using a Bean method result in a static context

I've got a class: public class SomeBean { public String getSomeValue() { return "result"; } } I am using this class as a bean: @Configuration public class ...
Gandalf's user avatar
  • 165
-7 votes
0 answers
34 views

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff8ed191184, pid=51412, tid=0x0000000000009a34 [closed]

I am writing protection for the maincraft cheat in the form of a native and when I added lazy importer I started having such errors # A fatal error has been detected by the Java Runtime Environment: # ...
Максим Шуриков's user avatar
0 votes
0 answers
13 views

How to Automate Adding Global Libraries in IntelliJ Idea

I'm working on client's Java 8 application in IntelliJ IDEA that requires adding / re-adding two JAR files as Global Libraries to every component in the project after every code change. (Yes, this is ...
PoorInRichfield's user avatar
0 votes
0 answers
7 views

How to display image from USB camera on old android?

Short question: I'm making an app for android 4.2.2, to display image from USB camera on tablet. The picture is not displayed. Can you please explain why? Thanks! (below is a link to the source code) ...
ghtx280's user avatar
  • 51
0 votes
0 answers
10 views

Can't download files content-disposition inline with a POST request from my app after activating CORS on a spring boot 3 application on Chrome/Edge

I'm currently working on a java spring boot (3.2) application with Spring MVC and secured with Spring security. I wanted to add a CORS configuration on my app but this add a bug on downloading files ...
milcaepsilon's user avatar
0 votes
0 answers
21 views

Memory issues after upgrade to Spring boot 3, Java 17

We recently upgraded our application from Spring boot 2.2, Java 11 to Spring boot 3.2 Java 17. After the upgrade we observed that the memory progressively increases and then goes down to zero and it ...
balaji G's user avatar
1 vote
1 answer
9 views

OpenCV ArUco marker detection in Java does not work

I was working on a project where I have to detect ArUco markers in the images captured by the webcam. I was following the documentation until I found out that Java implementation of OpenCV ArUco ...
Nascity's user avatar
  • 11
0 votes
0 answers
10 views

PanacheEntity record update works only once

I am learning qurkus and I have a problem that I can't update a record in the db more than once. I use merge() to update my records: @WithTransaction public Uni<User> update(User user) { ...
niao's user avatar
  • 1
0 votes
0 answers
14 views

Java orc-tools-2.0.1 can't use this version

I saw new version of hadoop and orc-tools libraries, so I decided to update my project. There are my new libraries: implementation group: 'org.apache.hadoop', name: 'hadoop-hdfs', version: '3.4.0' ...
LukiBoy's user avatar
0 votes
0 answers
11 views

Validation Problem For Request Class in Spring

In the application, I have an entity class named "Car" and a request class named "AddCarRequest" from which I will get information about that class via user input. @RequestMapping(&...
emir 's user avatar
0 votes
2 answers
17 views

Spring controller and processing of parameter string as an array of strings

I encountered this problem. I have a simple spring REST controller that has a get method, it should process a request like this http://localhost:8080/test/get?params=["param1", "param2&...
qwe ewq's user avatar
0 votes
1 answer
26 views

Make RGB java.awt.Color lighter

Can I take a java.awt.Color, turn it into a HSL color, and make it a notch lighter or darker — that is, increase or decrease the L value by, say ten points (obviously, within the 0 to 100 range)? If ...
Heneh's user avatar
  • 1
-3 votes
0 answers
16 views

* What went wrong: Value 'C:Program FilesJavajdk-17.0.12' given for org.gradle.java.home Gradle property is invalid (Java home supplied is invalid)

What platform(s) does this occur on? Android Where did you reproduce the issue? in a development build Summary I'm facing an issue creating an Android development build using EXPO. After updating ...
Lima's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
41