Questions tagged [java-11]
Use this tag for questions specific to Java 11, which is version 11 of the Java platform, released on 25 September 2018. In most cases you should also specify the java tag.
java-11
2,941
questions
0
votes
0
answers
29
views
Multi-module maven application Dockerfile problem [duplicate]
My goal would be that I create 3 services.
1 for the DB
1 for the main application (depends on DB)
1 for testing purposes (depends on main application)
First I would like to do this with just 2 ...
0
votes
0
answers
12
views
How to use Java 8 libs in Java 11 or later applications?
I need several jar libraries that are build with Java 8 and that do not contain the needed module-info.jar files. But the application's dependencies require at least Java 11 (JavaFX).
Compiling is ...
0
votes
1
answer
43
views
Pure Spring Security user authentication doesn't work
I have a very simple pure Spring web application with a login page (and it shouldn't use SpringBoot). I would like to authenticate the user and after that the user could go forward to its appropriate ...
0
votes
0
answers
99
views
Minimum Java version requirement for upgrading to Android 34
We have recently updated our Android SDK to target Android 34 from Android 33. I'm on Android Studio Jellyfish | 2023.3.1. I had to upgrade as below:
targetSdkVersion updated to 34
kotlin_version ...
0
votes
0
answers
29
views
couldn't run the project
that is flutter.bat fileLaunching lib\main.dart on CPH2235 in debug mode...
Target kernel_snapshot failed: ProcessException: Operation did not complete successfully because the file contains a virus ...
0
votes
0
answers
66
views
Spring security authorization not working
I created a pure Spring web application for learning purposes. It uses a simple database, where there are two roles: "Admin" and "User". It has a /login part where I can log in. ...
0
votes
1
answer
29
views
Tomcat - Java11 - Unable to present ECDSA certificate during SSL handshake as client
Recently, our organisation migrated one of our Java application codes from Java 8 to Java 11. Now, we are facing one unique issue with our application. Our tomcat server is running into a strange ...
1
vote
1
answer
87
views
Overloading Constructor with Generic Class in Java 11
I'm trying to understand two constructors with some initialization like
CardboardContainer<String> n1 = new CardboardContainer<String>("Hello"); // In T constructor
...
0
votes
2
answers
140
views
To modify the array so that all zeros are moved to the end while maintaining the order of non-zero elements [closed]
Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements.
Note that you must do this in-place without making a copy of the array.
...
0
votes
0
answers
50
views
java 8 end of support on App Engine flexible environment
I'm using Eclipse to deploy Java applications to the Google App Engine Flexible Environment. Now I must upgrade the code to Java version > 8. The following warning is prompted:
"Java 8 and ...
1
vote
2
answers
63
views
Load a class instance using parameterized constructor with ServiceLoader
I am using java ServiceLoader to load the instances of an SPI. ServiceLoader uses the public default no-args constructor to load the service providers.
I want to load the instances using a ...
0
votes
0
answers
19
views
Mode Clustering ,Wildfly 21 , One node out of 2 nodes suddenly gets down
I am using Spring MVC 5, java 11, mod_cluster/1.3.16. Final. Suddenly 1 node fails out of 2 and the below exception prints on the server console. I am out of solution and need help.
2024-06-19 02:22:...
0
votes
0
answers
39
views
OpenFin window does not launch via Chromedriver (openFin version - 36.122.80.4, chromium version - 122.0.6261.69)
I am trying to upgrade my Java (jdk 11) Selenium (4) automation suite which is currently running fine for OpenFin v31.112.75.7 and Chromium v112.0.5615.28.
I want to upgrade it to OpenFin v36.122.80.4 ...
0
votes
1
answer
45
views
documents4j with Java 17
Currently documents4j is built with Java 11, which will be soon end of support (by Oracle the standard support already ends, by SAP it will be end 2024). My questions are:
Has documents4j plan to ...
0
votes
1
answer
36
views
Dinamic Page Height in iText 8
I have this situation where I need to have everything in a single PDF page in iText8.
I have tried several approaches so far no success.
One of my ideas was have a list of elements that would be add ...