Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

My context I have implemented an equals(Object o) method for a speed object (Vitesse here) that when it faces a comparand being in m/s when it is itself in km/h (in example) puts the comparand in km/h ...
Marc Le Bihan's user avatar
-2 votes
0 answers
21 views

I don't know how to convert Java string numbers to insert them into MySQL table. The field 'peso' in MySQL is declared as float. public void Conferma() { // Creo un oggetto Prodotto ...
Albert's user avatar
  • 1
-7 votes
1 answer
27 views

I am cramming for a test and I would need help with learning some different java searching and sorting algorithms. The ones I have to know are: Sorting: Insertion sort Merge sort Selection sort ...
aquafire24232's user avatar
1 vote
1 answer
35 views

I will be brief. Currently in BlueJ, if you print more than 3 tabs in a row, it will only print 3 tabs. you can see this with the following print statements (in Java): System.out.println("\tX&...
Avery Hermann's user avatar
0 votes
0 answers
21 views

I’m setting up a project using Spring Boot 4.0.2 (Spring Security 6) and I’m getting a 401 Unauthorized in a MockMvc integration test, even though I’m using @WithMockUser(roles = "ADMIN"). I ...
Francislainy Campos's user avatar
2 votes
1 answer
53 views

I got this crash report: Exception java.lang.NoClassDefFoundError: at org.apache.commons.net.SocketClient.disconnect (SocketClient.java:329) at org.apache.commons.net.ftp.FTP.disconnect (FTP.java:...
red symbol man's user avatar
3 votes
0 answers
67 views

I have been observing a weird issue in my application. Recently we started observing a lot of exceptions of this type in our logs: IllegalArgumentException: Name for argument of type [java.lang.Long] ...
SargentD's user avatar
  • 353
3 votes
1 answer
94 views

I am trying to clarify the relationship between Method Overriding and Polymorphism in Java. From my understanding, overriding happens when a subclass provides its own implementation of a method ...
thunder_bow's user avatar
-3 votes
0 answers
45 views

I have an Android App that, among the other activities, makes API requests and downloads files. It downloads a zip file with this code that never gives problems in past Android versions (...
Nicola Zago's user avatar
-5 votes
0 answers
64 views

Playing around with HashMap and learning how to organize it, but got stuck trying to print out a random value in my map. Used youtube Hashmap tutorial and this article to base the code. Selecting ...
Joshua Harris's user avatar
0 votes
0 answers
25 views

In Intellij IDEA 2025, Android project, jlink doesn't exist, > Task :app:compileDebugJavaWithJavac FAILED Execution failed for task ':app:compileDebugJavaWithJavac'. > Could not resolve all ...
Kirikou's user avatar
  • 13
1 vote
2 answers
56 views

In the following example code, we create a JFrame, a JPanel and a JScrollPane with which to view the JPanel, all put on the JFrame: import java.awt.Dimension; import java.awt.Point; import java....
arcy's user avatar
  • 13.2k
0 votes
0 answers
52 views

I thought my code works well in terms of fragments management because I have tested it manually for a long time. Besides Crashlytics also didn't notify me that users are having any problem with it for ...
Jawegiel's user avatar
  • 141
0 votes
1 answer
55 views

I intend using Google VertexAI Text Embeddings to embed text before saving in pgvectordb. Pom.xml <properties> <java.version>21</java.version> <!-- <spring-...
KNU's user avatar
  • 2,534
-2 votes
0 answers
51 views

Requirement I want a memory efficient way to upload images for scalability I want to reduce the risk of high memory spikes during big loads. Therefore I initially had the plan to not store the whole ...
Andrin's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
127828