1,919,960 questions
0
votes
0
answers
4
views
play.api.UnexpectedException: Unexpected exception[NoClassDefFoundError: javax/validation/ConstraintValidatorFactory]
Title:
Migration Issue to Play Framework 3.0.0: NoClassDefFoundError: javax/validation/ConstraintValidatorFactory
Body:
I'm migrating a Play Framework application from 2.9.4 to 3.0.0 to adopt Jakarta ...
0
votes
0
answers
15
views
How to dockerize a java gui app that uses swing
I have a chess game that opens a jpanel in order to play and im having trouble trying to dockerize it. I'm very new to docker and I've run in to a multitude of errors that wont allow me to create the ...
0
votes
0
answers
8
views
Java OpenCV Laplacian blur detection gives low scores for clear images — how to set the right threshold?
enter image description hereenter image description hereI'm working on a Java application using OpenCV to detect whether an image is blurry using the Laplacian variance method.
Even for clearly ...
0
votes
0
answers
10
views
PostgreSQL Sequence Suddenly Behind Table Data Across Multiple Entities — No Manual Inserts, No Gaps
We're experiencing a critical and unexpected issue in our Spring Boot production system backed by PostgreSQL. A few days ago, the following error started appearing across multiple entity save ...
0
votes
0
answers
23
views
Java Native Interface Not working in M2 Mac Pro
I'm trying to do a simple example of JNI(Java Native Interface) in M2 Mac Pro. But I keep getting
Exception in thread "main" java.lang.UnsatisfiedLinkError: no hello in java.library.path:
...
0
votes
0
answers
9
views
Change titlebar of java swing by FlatLaf causes entire UI change
I was building a calculator project and I am new to JAVA & stackOverflow. So far build the entire thing except the titlebar which is default. As titlebar is controlled by OS we can't make direct ...
0
votes
1
answer
19
views
Pointcut does not match target method if argNames are specified
I have an interface with implementation class being a Spring bean:
public interface LeaderboardService {
List<PlayerRankWithDetails> getTopScores(Long tournamentId, int limit);
}
For this I'...
0
votes
0
answers
11
views
Does the library xades4j support the new digital signature format XAdES-B-B?
There are now new Xades forms, see ETSI EN 319 132-1 V1.3.1 (2024-07). The library doesn't seem to support them. Will the library be expanded to include these new forms?
0
votes
0
answers
6
views
How do I prevent tycho-p2-repository-plugin from including all plugins from eclipse composite repo?
I'm trying to create p2 repository.
In my pom.xml file there are many url's which includes my product features and eclipse composite(4.34) repo URL and other required jar's URL (customized p2 repo's).
...
0
votes
0
answers
16
views
How do I get GridLayout to respect the JPanels Insets?
I'm trying to use GridLayout to organize a group of JPanels.
I want them equal size, evenly spaced, and equal distance from the edge of the Parent JPanel.
As far as I can tell, GridLayout is the best ...
0
votes
0
answers
21
views
How to invoke Apache Derby stored procedure using Spring SimpleJdbcCall
I have written an Apache Derby Stored Procedure with a single integer parameter named "ID". I am trying to invoke this using Spring Jdbc's SimpleJdbcCall. After the stored procedure is ...
0
votes
0
answers
35
views
Can nested classes or even anonymous classes extend a class or implement a interface?
Can nested classes or anonymous classes extend a class or implement an interface in Java? If so, are there any limitations or things I should be aware of? I'm not very familiar with nested classes, ...
-3
votes
0
answers
22
views
How can i add the product I ordered on my CART UI?... The code has no errors but its still not showing when i click the, "ADD TO CART" button [duplicate]
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "javax.swing.JTable.getModel()" because "GUI.Cart.CartTable" is null
at GUI.Cushion....
0
votes
0
answers
19
views
How to implement a javafx GameLoop
The only way i found is by using a timeline, which relies on KeyFrames, but the only way i managed to do something like this is by making a single KeyFrame in loop
this is the solution i've found:
...
0
votes
0
answers
32
views
How a class can have a atrribute that can contain any enum? and map this class with JPA
I'm doing a personal project to learn. full-backend console program. To show user actions I print different enums according user role. My idea is persist the enums in a db, as a field of the role ...