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
1
answer
39
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
47
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
26
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
65
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
27
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
86
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
139
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
46
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
18
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
37
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
44
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
35
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 ...
0
votes
0
answers
13
views
I have a web service that is using oracle apps cz cio import
I have an webservice which is deployed using axis and tomcat7 and jdk 1.7 but recently i have changed the versions to tomcat 9 and jdk 11 . after doing that i am getting exceptions as such for the ...
0
votes
2
answers
45
views
How can I increase the survival cycle of an object moving from young generation to old generation heap space in java
I have a spring boot application development which is processing an memory intensive process for an amount of time which is let than 5 mins. It will create lots of objects created and it will be ...