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.

-2 votes
0 answers
12 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
-1 votes
0 answers
32 views

Memory issues after upgrade to Spring boot 3, Java 17 [closed]

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
16 views

ArUco marker cannot be detected by OpenCV ArUco library in JAVA

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
18 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
18 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
1 answer
17 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
1 answer
19 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
40 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
20 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) [closed]

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
0 votes
0 answers
15 views

Android, Java + Goople Map: Straight routes useless. Is it possible to eliminate them?

Video of problem Straight routes useless. Is it possible to eliminate them? there are straight lines that i wouldn't want. Input from rest_api it's a simple json in this link: https://drive.google.com/...
Lucifer85's user avatar
-3 votes
0 answers
16 views

Basic auth to get token in spring security oauth2

So i have migrated my token service from spring 2.4.5 to 3.2.3, there are many changes in spring security, i'm refactored my SecurityConfiguration, UserDetailsService etc, but i have a problem with ...
ifog's user avatar
  • 7
0 votes
0 answers
8 views

Question: How to Create a Custom WireGuard Client App Using Java in Android Studio?

I am trying to create a custom WireGuard client app using Java in Android Studio. I'm using the com.wireguard.android:tunnel library available on Maven Central. Here are the steps I've followed so far:...
Light Tech's user avatar
0 votes
0 answers
27 views

Is there a way to change the Java SDK depending on the git branch on Intellij IDEA?

Im new to Intellij IDEA. On my git project I use branches for different version (minecraft modding) and for example version1 is using JDK 17 and the second one JDK21. When I switch between branches I ...
Patema's user avatar
  • 1
-1 votes
1 answer
12 views

How to action update expression

I'm using the AWS Java SDK v2 with UpdateExpression so that I can update an item without having to retrieve the item from DynamoDB. I've managed to build the update expression but now I don't know how ...
Izak Joubert's user avatar
-1 votes
0 answers
25 views

Are RMap `getMap`, `putAll`, `put`, `remove` operations atomic & threadsafe?

We are using Redisson library for Redis and we are utilizing Hash data structure to store an object with different properties. We have 2 Kafka listeners, which listen for incoming messages, and store ...
alext's user avatar
  • 788

15 30 50 per page